Skip to content

AsyncStore

Defined in: src/backends/store/store.ts:178

optional cache?: Map<number, Resource<number>>

Defined in: src/backends/store/store.ts:179


readonly optional flags?: readonly StoreFlag[]

Defined in: src/backends/store/store.ts:62

Use for optimizations

Store.flags


readonly optional label?: 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

Store.label


readonly name: 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

Store.name


readonly optional type?: number

Defined in: src/backends/store/store.ts:30

FileSystem#id

Store.type


readonly optional uuid?: `${string}-${string}-${string}-${string}-${string}`

Defined in: src/backends/store/store.ts:47

A UUID for this instance of the store.

Store.uuid

optional allocId(): [ino: number, data: number]

Defined in: src/backends/store/store.ts:72

Allocate IDs for a new inode + data

[ino: number, data: number]

Store.allocId


sync(): Promise<void>

Defined in: src/backends/store/store.ts:52

Syncs the store

Promise<void>

Store.sync


transaction(): Transaction

Defined in: src/backends/store/store.ts:57

Begins a new transaction.

Transaction

Store.transaction


optional usage(): UsageInfo

Defined in: src/backends/store/store.ts:67

Usage information for the store

UsageInfo

Store.usage