Skip to content

DebugDir

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

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 DebugDir(name, parent?): DebugDir

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

string

DebugDir

DebugDir

DebugEntry.constructor

readonly children: Map<string, DebugEntry>

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


mode: number = 0o755

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

The permissions on this entry, without a file type

KFSDir.mode

DebugEntry.mode


name: string

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

DebugEntry.name


readonly optional parent?: DebugDir

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

Only the root has none

DebugEntry.parent

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:99

debugfs_remove takes everything underneath with it

void

DebugEntry.dispose


keys(): Iterable<string>

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

Iterable<string>

KFSDir.keys


lookup(name): DebugDir | DebugFile | DebugLink

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

string

DebugDir | DebugFile | DebugLink

KFSDir.lookup


rename(name): void

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

string

void

DebugEntry.rename