Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileSystem ¶
type FileSystem interface { // Create creates an object with the specified name, and will read // from r up to io.EOF. The reader is explicitly passed in to allow // implementations to cleanup, and guarantee consistency. Create(ctx context.Context, name string, r io.Reader) error Open(ctx context.Context, name string) (Reader, error) Remove(ctx context.Context, name string) error }
A FileSystem is a persistent store of objects uniquely identified by name.
Click to show internal directories.
Click to hide internal directories.