Class: PieceLocation
Constructors
constructor
• new PieceLocation(full
, root
)
Parameters
Name | Type | Description |
---|---|---|
full | string | |
root | string |
Defined in
projects/pieces/src/lib/structures/PieceLocation.ts:21
Properties
full
• Readonly
full: string
Defined in
projects/pieces/src/lib/structures/PieceLocation.ts:10
root
• Readonly
root: string
Defined in
projects/pieces/src/lib/structures/PieceLocation.ts:15
Accessors
directories
• get
directories(): string
[]
Returns
string
[]
Defined in
projects/pieces/src/lib/structures/PieceLocation.ts:56
name
• get
name(): string
Returns
string
Defined in
projects/pieces/src/lib/structures/PieceLocation.ts:73
relative
• get
relative(): string
Returns
string
Defined in
projects/pieces/src/lib/structures/PieceLocation.ts:39
Methods
toJSON
▸ toJSON(): PieceLocationJSON