Interface: MastraFileSystemAdapterOptions
Options for filesystems / MastraFileSystemAdapter.
Extends
Section titled “Extends”MastraFilesystemOptions
Properties
Section titled “Properties”
optionalid?:string
Override the Mastra filesystem id. Defaults to the source FileSystem.id.
optionalname?:string
Override the Mastra display name. Defaults to MastraFileSystemAdapter.
onDestroy?
Section titled “onDestroy?”
optionalonDestroy?:FilesystemLifecycleHook
Called before the filesystem is destroyed
Inherited from
Section titled “Inherited from”MastraFilesystemOptions.onDestroy
onInit?
Section titled “onInit?”
optionalonInit?:FilesystemLifecycleHook
Called after the filesystem reaches ‘ready’ status
Inherited from
Section titled “Inherited from”MastraFilesystemOptions.onInit
provider?
Section titled “provider?”
optionalprovider?:string
Override the Mastra provider id. Defaults to the source FileSystem.backend.
readOnly?
Section titled “readOnly?”
optionalreadOnly?:boolean
Force read-only mounts even when the source filesystem allows writes. The source FileSystem.readOnly flag still applies either way.