On this page

new FileSystemInfo(): FileSystemInfo
Attributes
contextHashQueue:AsyncQueue<string, string, ContextHash>
fileHashQueue:AsyncQueue<string, string, string>
immutablePaths:(string | RegExp)[]
immutablePathsRegExps:RegExp[]
immutablePathsWithSlash:string[]
managedItemDirectoryQueue:AsyncQueue<string, string, Set<string>>
managedItemQueue:AsyncQueue<string, string, string>
managedPaths:(string | RegExp)[]
managedPathsRegExps:RegExp[]
managedPathsWithSlash:string[]
unmanagedPathsRegExps:RegExp[]
unmanagedPathsWithSlash:string[]
addContextTimestamps(map, immutable?): void
Attributes
map:ReadonlyMap<string, ContextTimestamp>
immutable:boolean
Returns:void

Adds context timestamps.


addFileTimestamps(map, immutable?): void
Attributes
map:ReadonlyMap<string, FileTimestamp>
immutable:boolean
Returns:void

Adds file timestamps.


checkResolveResultsValid(resolveResults, callback): void
Attributes
resolveResults:Map<string, string | false | undefined>
callback:(err?: Error | null, result?: boolean) => void
Returns:void

Checks resolve results valid.


checkSnapshotValid(snapshot, callback): void
Attributes
snapshot:Snapshot
callback:(err?: WebpackError | null, result?: boolean) => void
Returns:void

Checks snapshot valid.


clear(): void
Returns:void

createSnapshot(startTime, files, directories, missing, options, callback): void
Attributes
startTime:number | null | undefined
files:Iterable<string, any, any> | null | undefined
directories:Iterable<string, any, any> | null | undefined
missing:Iterable<string, any, any> | null | undefined
callback:(err: WebpackError | null, snapshot: Snapshot | null) => void
Returns:void

Creates a snapshot.


getContextHash(path, callback): void
Attributes
path:string
callback:(err?: WebpackError | null, contextHash?: string) => void
Returns:void

Returns context hash.


getContextTimestamp(path, callback): void
Attributes
path:string
callback:(err?: WebpackError | null, resolvedContextTimestamp?: "ignore" | ResolvedContextFileSystemInfoEntry | null) => void
Returns:void

Gets context timestamp.


getContextTsh(path, callback): void
Attributes
path:string
callback:(err?: WebpackError | null, resolvedContextTimestampAndHash?: ResolvedContextTimestampAndHash | null) => void
Returns:void

Returns context tsh.


getDeprecatedContextTimestamps(): Map<string, number | null>
Returns:Map<string, number | null>

getDeprecatedFileTimestamps(): Map<string, number | null>
Returns:Map<string, number | null>

getFileHash(path, callback): void
Attributes
path:string
callback:(err?: WebpackError | null, hash?: string | null) => void
Returns:void

Returns file hash.


getFileTimestamp(path, callback): void
Attributes
path:string
callback:(err?: WebpackError | null, fileTimestamp?: "ignore" | FileSystemInfoEntry | null) => void
Returns:void

Gets file timestamp.


logStatistics(): void
Returns:void

mergeSnapshots(snapshot1, snapshot2): Snapshot
Attributes
snapshot1:Snapshot
snapshot2:Snapshot
Returns:Snapshot

Merges the provided values into a single result.


resolveBuildDependencies(context, deps, callback): void
Attributes
context:string
callback:(err?: Error | null, resolveBuildDependenciesResult?: ResolveBuildDependenciesResult) => void
Returns:void

Resolves build dependencies.

Attributes
safeTime:number
symlinks:Set<string>
timestampHash:string

Attributes
hash:string
resolved:string
symlinks:Set<string>


Attributes
hash:string
safeTime:number
symlinks:Set<string>
timestampHash:string



Attributes
directories:Set<string>
list of directories
files:Set<string>
list of files
missing:Set<string>
list of missing entries
resolveDependencies:ResolveDependencies
dependencies of the resolving
resolveResults:Map<string, string | false | undefined>
stored resolve results

Attributes
directories:Set<string>
list of directories
files:Set<string>
list of files
missing:Set<string>
list of missing entries

Attributes
hash:boolean
should use hash to snapshot
timestamp:boolean
should use timestamp to snapshot