new Resolver(): ResolverReturns:
<Resolver>Attributes
fileSystem:
<FileSystem>hooks:
{KnownHooks}
options:
{ResolveOptionsResolverFactoryObject1}
pathCache:
{PathCacheFunctions}
basename(path, suffix?): stringAttributes
Returns:
<string>dirname(path): stringAttributes
path:
<string>Returns:
<string>doResolve(hook, request, message, resolveContext, callback): voidhook{AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null>}request{ResolveRequest}message<string>|<null>resolveContext{ResolveContext}callback<object>- Returns: {void}
ensureHook(name): voidname{string|AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null, UnsetAdditionalOptions>}- Returns: {AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null>}
getHook(name): voidname{string|AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null, UnsetAdditionalOptions>}- Returns: {AsyncSeriesBailHook<Tuple<ResolveRequest, ResolveContext>, ResolveRequest|null>}
isDirectory(path): booleanAttributes
path:
<string>Returns:
<boolean>isModule(path): booleanAttributes
path:
<string>Returns:
<boolean>isPrivate(path): booleanAttributes
path:
<string>Returns:
<boolean>M
join
join(path, request): stringAttributes
Returns:
<string>normalize(path): stringAttributes
path:
<string>Returns:
<string>parse(identifier): ParsedIdentifierAttributes
identifier:
<string>Returns:
{ParsedIdentifier}
resolve(path, request, callback): voidAttributes
Returns:
{void}
Attributes
Returns:
{void}
context{ContextTypes}path<string>request<string>resolveContext{ResolveContext}callback<object>- Returns: {void}
resolvePromise(path, request, resolveContext?): voidAttributes
Returns:
{Promise<string|false>}
context{ContextTypes}path<string>request<string>resolveContext{ResolveContext}- Returns: {Promise<string|false>}
resolveSync(path, request, resolveContext?): voidAttributes
Returns:
<string>