Documentation ¶
Overview ¶
Package zkfs provides utilities for working with zookeepr in a filesystem-like manner.
Index ¶
- func FormatACL(acl zk.ACL) string
- func IsFile(path string) bool
- func ParsePermMode(mode string) (mask int32)
- type FS
- func (fs *FS) CopyContext(ctx context.Context, src, dst string) error
- func (fs *FS) MultiCopyContext(ctx context.Context, args []string) error
- func (fs *FS) ReadContext(ctx context.Context, path string) (data []byte, err error)
- func (fs *FS) WriteContext(ctx context.Context, path string, data []byte) (err error)
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePermMode ¶
ParsePermMode parses the mode string as a perm mask.
Types ¶
type FS ¶
FS wraps a zk2topo connection to provide FS utility methods.
func (*FS) CopyContext ¶
CopyContext copies the contents of src to dst.
func (*FS) MultiCopyContext ¶
MultiCopyContext copies the contents of multiple sources to a single dst directory.
func (*FS) ReadContext ¶
ReadContext reads the data stored at path.
Click to show internal directories.
Click to hide internal directories.