BaseStore interface that works on the local file system.
LocalFileStore(
self,
root_path: str | Path,
*,
chmod_file: int | None = None,
chmod_dir: int | None = None,
update_atime: bool = False
)| Name | Type | Description |
|---|---|---|
root_path* | str | Path | The root path of the file store. All keys are interpreted as paths relative to this root. |
chmod_file | int | None | Default: NoneSets permissions for newly created files, overriding the
current |
chmod_dir | int | None | Default: NoneSets permissions for newly created dirs, overriding the
current |
update_atime | bool | Default: FalseUpdates the filesystem access time (but not the modified time) when a file is read. This allows MRU/LRU cache policies to be implemented for filesystems where access time updates are disabled. |