Copies bytes from srcPath to dstPath.
Get bytes for the given Path.
Get bytes for the given Path. See StoreOps.GetOps for convenient get and getContents methods.
to get
bytes to read in each chunk.
stream of bytes
List paths.
List paths. See StoreOps.ListOps for convenient listAll method.
to list
stream of Paths. Implementing stores must guarantee that returned Paths have correct values for size, isDir and lastModified.
Moves bytes from srcPath to dstPath.
Provides a Sink that writes bytes into the provided path.
Provides a Sink that writes bytes into the provided path. See StoreOps.PutOps for convenient put String and put file methods.
It is highly recommended to provide Path.size when writing as it allows for optimizations in some store. Specifically, S3Store will behave very poorly if no size is provided as it will load all bytes in memory before writing content to S3 server.
to put
sink of bytes
Remove bytes for given path.