ConfigLink
Defined in: src/fs/configfs.ts:200
A symlink from one item to another, which is how configfs expresses a relationship between two things userspace made.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ConfigLink(
name,parent,target?):ConfigLink
Defined in: src/fs/configfs.ts:201
Parameters
Section titled “Parameters”string
parent
Section titled “parent”target?
Section titled “target?”Set once the target has been written, since @zenfs/core makes a symlink in two steps
Returns
Section titled “Returns”ConfigLink
Properties
Section titled “Properties”
readonlyname:string
Defined in: src/fs/configfs.ts:202
parent
Section titled “parent”
readonlyparent:ConfigGroup
Defined in: src/fs/configfs.ts:203
target?
Section titled “target?”
optionaltarget?:ConfigItem
Defined in: src/fs/configfs.ts:205
Set once the target has been written, since @zenfs/core makes a symlink in two steps
Accessors
Section titled “Accessors”contents
Section titled “contents”Get Signature
Section titled “Get Signature”get contents():
string
Defined in: src/fs/configfs.ts:220
Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get mode():
number
Defined in: src/fs/configfs.ts:216
A link that is still being made is a plain file, so it gets a plain file’s permissions
Returns
Section titled “Returns”number
Get Signature
Section titled “Get Signature”get path():
string
Defined in: src/fs/configfs.ts:210
Returns
Section titled “Returns”string
Methods
Section titled “Methods”drop()
Section titled “drop()”drop():
void
Defined in: src/fs/configfs.ts:224
Returns
Section titled “Returns”void