DoxigAlpha

Manifest

Fields of this type

Fields

#
cache:*Cache
hash:HashHelper
Current state for incremental hashing.
manifest_file:?fs.File
manifest_dirty:bool
want_shared_lock:bool
Set this flag to true before calling hit() in order to indicate that
have_exclusive_lock:bool
= false
want_refresh_timestamp:bool
= true
recent_problematic_timestamp:i128
Keeps track of the last time we performed a file system write to observe

Type definitions in this namespace

Types

#

Add a file as a dependency of process being cached.

Functions

#
addFilePath
Add a file as a dependency of process being cached.
addOpenedFile
Same as `addFilePath` except the file has already been opened.
addFile
Deprecated; use `addFilePath`.
addOptionalFile
Deprecated, use `addOptionalFilePath`.
hit
Check the cache to see if the input exists in it.
unhit
Reset `self.hash.hasher` to the state it should be in after `hit` returns `false`.
addFilePostFetch
Add a file as a dependency of process being cached, after the initial hash has been
addFilePost
Add a file as a dependency of process being cached, after the initial hash has been
addFilePostContents
Like `addFilePost` but when the file contents have already been loaded from disk.
finalBin
Returns a binary hash of the inputs.
final
Returns a hex encoded hash of the inputs.
writeManifest
If `want_shared_lock` is true, this function automatically downgrades the
toOwnedLock
Obtain only the data needed to maintain a lock on the manifest file.
deinit
Releases the manifest file and frees any memory the Manifest was using.

Error sets in this namespace

Error Sets

#