PathScurryBase | path-scurry (original) (raw)

Class PathScurryBaseAbstract

Hierarchy

Index

Constructors

constructor

Parameters

Returns PathScurryBase

Properties

Private #children

Private #fs

#fs: FSValue

Private #resolveCache

Private #resolvePosixCache

cwd

nocase

nocase: boolean

root

rootPath

rootPath: string

roots

roots: {
[k: string]: PathBase;
}

Abstract sep

sep: string | RegExp

Methods

[asyncIterator]

[iterator]

basename

Returns string

chdir

Returns void

childrenCache

Returns ChildrenCache

depth

Returns number

dirname

Returns string

Abstract isAbsolute

Returns boolean

iterate

iterateSync

lstat

Returns Promise<undefined | PathBase>

lstatSync

Returns undefined | PathBase

Abstract newRoot

Parameters

Returns PathBase

Abstract parseRootPath

Parameters

Returns string

readdir

Returns Promise<PathBase[]>

Returns Promise<string[]>

Returns Promise<string[] | PathBase[]>

Returns Promise<PathBase[]>

Returns Promise<string[]>

Returns Promise<string[] | PathBase[]>

readdirSync

Returns PathBase[]

Returns string[]

Returns string[] | PathBase[]

Returns PathBase[]

Returns string[]

Returns string[] | PathBase[]

Returns Promise<undefined | string>

Returns Promise<undefined | PathBase>

Returns Promise<undefined | string | PathBase>

Returns Promise<undefined | string>

Returns Promise<undefined | PathBase>

Returns Promise<undefined | string | PathBase>

readlinkSync

Returns undefined | string

Returns undefined | PathBase

Returns undefined | string | PathBase

Returns undefined | string

Returns undefined | PathBase

Returns undefined | string | PathBase

realpath

Returns Promise<undefined | string>

Returns Promise<undefined | PathBase>

Returns Promise<undefined | string | PathBase>

Returns Promise<undefined | string>

Returns Promise<undefined | PathBase>

Returns Promise<undefined | string | PathBase>

realpathSync

Returns undefined | string

Returns undefined | PathBase

Returns undefined | string | PathBase

Returns undefined | string

Returns undefined | PathBase

Returns undefined | string | PathBase

relative

Returns string

relativePosix

Returns string

resolve

Returns string

resolvePosix

Returns string

stream

streamSync

walk

walkSync