Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSetCloner ¶
type FileSetCloner interface { // Clone clones the given fileset Clone(src FileSetID, dest FileSetID, destBlocksize time.Duration) error }
FileSetCloner clones a given fileset
type Options ¶
type Options interface { // SetBytesPool sets the bytesPool SetBytesPool(bytesPool pool.CheckedBytesPool) Options // BytesPool returns the bytesPool BytesPool() pool.CheckedBytesPool // SetDecodingOptions sets the decoding options SetDecodingOptions(decodingOpts msgpack.DecodingOptions) Options // DecodingOptions returns the decoding options DecodingOptions() msgpack.DecodingOptions // SetBufferSize sets the buffer size SetBufferSize(int) Options // BufferSize returns the buffer size BufferSize() int // SetFileMode sets the fileMode used for file creation SetFileMode(os.FileMode) Options // FileMode returns the fileMode used for file creation FileMode() os.FileMode // SetDirMode sets the file mode used for dir creation SetDirMode(os.FileMode) Options // DirMode returns the file mode used for dir creation DirMode() os.FileMode }
Options represents the knobs available while cloning
Click to show internal directories.
Click to hide internal directories.