AsyncStore
Defined in: src/backends/store/store.ts:178
Extends
Section titled “Extends”Properties
Section titled “Properties”cache?
Section titled “cache?”
optionalcache?:Map<number,Resource<number>>
Defined in: src/backends/store/store.ts:179
flags?
Section titled “flags?”
readonlyoptionalflags?: readonlyStoreFlag[]
Defined in: src/backends/store/store.ts:62
Use for optimizations
Inherited from
Section titled “Inherited from”label?
Section titled “label?”
readonlyoptionallabel?:string
Defined in: src/backends/store/store.ts:42
A name for this instance of the store. For example, you might use a share name for a network-based store
Inherited from
Section titled “Inherited from”
readonlyname:string
Defined in: src/backends/store/store.ts:36
What the file system using this store should be called. For example, tmpfs for an in memory store
Inherited from
Section titled “Inherited from”
readonlyoptionaltype?:number
Defined in: src/backends/store/store.ts:30
FileSystem#id
Inherited from
Section titled “Inherited from”
readonlyoptionaluuid?:`${string}-${string}-${string}-${string}-${string}`
Defined in: src/backends/store/store.ts:47
A UUID for this instance of the store.
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”allocId()?
Section titled “allocId()?”
optionalallocId(): [ino:number,data:number]
Defined in: src/backends/store/store.ts:72
Allocate IDs for a new inode + data
Returns
Section titled “Returns”[ino: number, data: number]
Inherited from
Section titled “Inherited from”sync()
Section titled “sync()”sync():
Promise<void>
Defined in: src/backends/store/store.ts:52
Syncs the store
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”transaction()
Section titled “transaction()”transaction():
Transaction
Defined in: src/backends/store/store.ts:57
Begins a new transaction.
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”usage()?
Section titled “usage()?”
optionalusage():UsageInfo
Defined in: src/backends/store/store.ts:67
Usage information for the store