BlockSuite API Documentation / @blocksuite/block-std / PathFinder
Class: PathFinder
Methods
equals()
staticequals(path1,path2):boolean
Parameters
path1
readonly string[]
path2
readonly string[]
Returns
boolean
Defined in
packages/framework/block-std/src/utils/path-finder.ts:2
id()
staticid(path):string
Parameters
path
readonly string[]
Returns
string
Defined in
packages/framework/block-std/src/utils/path-finder.ts:6
includes()
staticincludes(path1,path2):boolean
Parameters
path1
string[]
path2
string[]
Returns
boolean
Defined in
packages/framework/block-std/src/utils/path-finder.ts:11
keyToPath()
statickeyToPath(key):string[]
Parameters
key
string
Returns
string[]
Defined in
packages/framework/block-std/src/utils/path-finder.ts:15
parent()
staticparent(path):string[]
Parameters
path
readonly string[]
Returns
string[]
Defined in
packages/framework/block-std/src/utils/path-finder.ts:19
pathToKey()
staticpathToKey(path):string
Parameters
path
readonly string[]
Returns
string
Defined in
packages/framework/block-std/src/utils/path-finder.ts:23