Skip to main content

ReactorPath

Constructors

Constructor

new ReactorPath(): ReactorPath;

Returns

ReactorPath

Properties

PropertyModifierType
IMAGE_EXTENSIONSstaticstring[]
isBinarystatic(filename) => boolean & MemoizedFunction
isImagestatic(filename) => boolean & MemoizedFunction
normalizestatic(directory) => string & MemoizedFunction
splitstatic(directory) => string[] & MemoizedFunction
startsWithstatic(base, check) => boolean & MemoizedFunction

Methods

equals()

static equals(...paths): boolean;

Parameters

ParameterType
...pathsstring[]

Returns

boolean


join()

static join(...parts): string;

Parameters

ParameterType
...partsstring[]

Returns

string


matches()

static matches(path, glob): boolean;

Parameters

ParameterType
pathstring
globstring

Returns

boolean