Documentation ¶
Index ¶
- type Handler
- func (h *Handler) OnCreate(ctx context.Context, path string, fileInfo os.FileInfo)
- func (h *Handler) OnMove(ctx context.Context, path string, fileInfo os.FileInfo, oldPath string)
- func (h *Handler) OnRemove(ctx context.Context, path string, fileInfo os.FileInfo)
- func (h *Handler) OnRename(ctx context.Context, path string, fileInfo os.FileInfo, oldPath string)
- func (h *Handler) OnWrite(ctx context.Context, path string, fileInfo os.FileInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Implementation to handle events from FS
func NewHandler ¶
func NewHandler(textileClient tc.Client, bucketRoot *tc.TextileBucketRoot) *Handler
Creates a New File System Handler // TODO define what is needed as options like push notifications, etc
Click to show internal directories.
Click to hide internal directories.