Documentation ¶
Overview ¶
Package storage provides primitives necessary for working with the underlying storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadFilename = errors.New("bad filename")
ErrBadFilename is returned by the Saver in response to Upload() if filename is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier interface { GetNotificationChan() <-chan messages.FileChangeNotification // Close shuts down the Notifier. Close() error }
Notifier pipes the filesystem change notifications to the output channel. Use GetNotificationChan() to retrieve it.
func NewNotifier ¶
NewNotifier returns the initiated Notifier that watches the specified directory.
Click to show internal directories.
Click to hide internal directories.