Skip to content

Interface: BaseFileSystemOptions\<TBackend\>

TBackend extends string = string

backend: TBackend


optional createRoot?: boolean

Ensure root exists during init by calling createRootDirectory. Defaults to false (remote roots usually already exist). Local disk adapters typically pass true and override createRootDirectory.


id: string


optional readOnly?: boolean


optional root?: FileSystemRootInput

Filesystem root. One segment or a list of segments (FileSystemRootInput): primitives stringify, objects/arrays are FNV-hashed, then joined with / and normalized via posixPath.normalizeRoot. Defaults to /.