KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
mocks
<internal>
Link
Class Link
Represents a hard link that points to an i-node
node
.
Index
Constructors
constructor
Properties
changes
children
ino
length
name
node
parent
vol
Accessors
steps
Methods
create
Child
delete
Child
get
Child
get
Name
get
Node
get
Parent
Path
get
Path
set
Child
set
Node
sync
Steps
to
JSON
Constructors
constructor
new
Link
(
vol
:
Superblock
,
parent
:
Link
|
undefined
,
name
:
string
)
:
Link
Parameters
vol
:
Superblock
parent
:
Link
|
undefined
name
:
string
Returns
Link
Properties
Readonly
changes
changes
:
FanOut
<
LinkEvent
>
children
children
:
Map
<
string
,
Link
|
undefined
>
ino
ino
:
number
length
length
:
number
name
name
:
string
node
node
:
Node
parent
parent
:
Link
|
undefined
vol
vol
:
Superblock
Accessors
steps
get
steps
()
:
string
[]
Returns
string
[]
set
steps
(
val
:
string
[]
)
:
void
Parameters
val
:
string
[]
Returns
void
Methods
create
Child
createChild
(
name
:
string
,
node
?:
Node
)
:
Link
Parameters
name
:
string
Optional
node
:
Node
Returns
Link
delete
Child
deleteChild
(
link
:
Link
)
:
void
Parameters
link
:
Link
Returns
void
get
Child
getChild
(
name
:
string
)
:
Link
|
undefined
Parameters
name
:
string
Returns
Link
|
undefined
get
Name
getName
()
:
string
Returns
string
get
Node
getNode
()
:
Node
Returns
Node
get
Parent
Path
getParentPath
()
:
string
Returns
string
get
Path
getPath
()
:
string
Returns
string
set
Child
setChild
(
name
:
string
,
link
?:
Link
)
:
Link
Parameters
name
:
string
Optional
link
:
Link
Returns
Link
set
Node
setNode
(
node
:
Node
)
:
void
Parameters
node
:
Node
Returns
void
sync
Steps
syncSteps
()
:
void
Returns
void
to
JSON
toJSON
()
:
{
children
:
string
[]
;
ino
:
number
;
steps
:
string
[]
}
Returns
{
children
:
string
[]
;
ino
:
number
;
steps
:
string
[]
}
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
changes
children
ino
length
name
node
parent
vol
Accessors
steps
Methods
create
Child
delete
Child
get
Child
get
Name
get
Node
get
Parent
Path
get
Path
set
Child
set
Node
sync
Steps
to
JSON
Github
KC's Workspace
Loading...
Represents a hard link that points to an i-node
node.