Skip to content

DebugFile

Defined in: src/fs/debugfs.ts:122

Something in debugfs. Unlike sysfs, entries are not tied to kobjects: whoever creates one holds onto it and hands it back to debugfs_remove.

new DebugFile(name, parent, mode, ops): DebugFile

Defined in: src/fs/debugfs.ts:127

string

DebugDir | undefined

number

DebugFileOps

DebugFile

DebugEntry.constructor

mode: number

Defined in: src/fs/debugfs.ts:130

The permissions on this entry, without a file type

DebugEntry.mode


name: string

Defined in: src/fs/debugfs.ts:51

DebugEntry.name


readonly ops: DebugFileOps

Defined in: src/fs/debugfs.ts:131


readonly optional parent?: DebugDir

Defined in: src/fs/debugfs.ts:48

Only the root has none

DebugEntry.parent


optional show?: () => string | Uint8Array<ArrayBufferLike>

Defined in: src/fs/debugfs.ts:124

These come straight from the operations the file was made with

string | Uint8Array<ArrayBufferLike>


optional store?: (value) => void

Defined in: src/fs/debugfs.ts:125

string

void

get path(): string

Defined in: src/fs/debugfs.ts:60

The path of this entry, relative to the root of debugfs

string

DebugEntry.path

[dispose](): void

Defined in: src/fs/debugfs.ts:71

void

DebugEntry.[dispose]


dispose(): void

Defined in: src/fs/debugfs.ts:67

Take this entry out of debugfs. This is debugfs_remove.

void

DebugEntry.dispose


rename(name): void

Defined in: src/fs/debugfs.ts:75

string

void

DebugEntry.rename