binny.fs.FsBinaryStoreWithCleanup
See theFsBinaryStoreWithCleanup companion object A variant of FsBinaryStore that will cleanup empty directories that could be left
when deleting files.
Since this deletion of directories could race against a concurrent inserting of a
file, both operations are run sequentially. With this class there should be only one
store working on the same base directory!
Attributes Companion: object Graph Reset zoom Hide graph Show graph
Supertypes trait BinaryStore [F ]
class Object
trait Matchable
class Any
Members list Concise view
Value members
Retrieves a selected set of attributes of a binary.
Retrieves a selected set of attributes of a binary.
Attributes
Deletes all data associated to the given id.
Deletes all data associated to the given id.
Attributes
Check if a file exists. Same as findBinary().isDefined
, but usually more
efficiently implemented.
Check if a file exists. Same as findBinary().isDefined
, but usually more
efficiently implemented.
Attributes
Finds a binary by its id. The range argument controls which part to return.
Finds a binary by its id. The range argument controls which part to return.
Attributes
Insert the given bytes creating a new id.
Insert the given bytes creating a new id.
Attributes
Insert the given bytes to the given id. If some file already exists by this id, the
behavior depends on the implementation.
Insert the given bytes to the given id. If some file already exists by this id, the
behavior depends on the implementation.
Attributes
Returns a set of ids currently available in this store.
Returns a set of ids currently available in this store.
Attributes