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.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DebugFile(
name,parent,mode,ops):DebugFile
Defined in: src/fs/debugfs.ts:127
Parameters
Section titled “Parameters”string
parent
Section titled “parent”DebugDir | undefined
number
Returns
Section titled “Returns”DebugFile
Overrides
Section titled “Overrides”Properties
Section titled “Properties”mode:
number
Defined in: src/fs/debugfs.ts:130
The permissions on this entry, without a file type
Inherited from
Section titled “Inherited from”name:
string
Defined in: src/fs/debugfs.ts:51
Inherited from
Section titled “Inherited from”
readonlyops:DebugFileOps
Defined in: src/fs/debugfs.ts:131
parent?
Section titled “parent?”
readonlyoptionalparent?:DebugDir
Defined in: src/fs/debugfs.ts:48
Only the root has none
Inherited from
Section titled “Inherited from”
optionalshow?: () =>string|Uint8Array<ArrayBufferLike>
Defined in: src/fs/debugfs.ts:124
These come straight from the operations the file was made with
Returns
Section titled “Returns”string | Uint8Array<ArrayBufferLike>
store?
Section titled “store?”
optionalstore?: (value) =>void
Defined in: src/fs/debugfs.ts:125
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get path():
string
Defined in: src/fs/debugfs.ts:60
The path of this entry, relative to the root of debugfs
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”[dispose]()
Section titled “[dispose]()”[dispose]():
void
Defined in: src/fs/debugfs.ts:71
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”dispose()
Section titled “dispose()”dispose():
void
Defined in: src/fs/debugfs.ts:67
Take this entry out of debugfs. This is debugfs_remove.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”rename()
Section titled “rename()”rename(
name):void
Defined in: src/fs/debugfs.ts:75
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void