jdir

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindJournalDir

func FindJournalDir() (dir string, err error)

func IsJournalFile

func IsJournalFile(name string) bool

func IsStatusFile added in v0.7.0

func IsStatusFile(name string) watched.StatusType

func NewestJournal

func NewestJournal(inDir string) (res string, err error)

Types

type Events

type Events struct {
	// contains filtered or unexported fields
}

func NewEvents

func NewEvents(dir string, r watched.EventRecv, opt *Options) *Events

func (*Events) LastJSerial

func (ede *Events) LastJSerial() watched.JEventID

func (*Events) Start

func (ede *Events) Start(withJournal string) (err error)

func (*Events) Stop

func (ede *Events) Stop()

type Options

type Options struct {
	JSerial           int64
	SerialIndependent []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL