Exclosured.Manifest (exclosured v0.1.4)

Copy Markdown

Manages the build manifest for incremental compilation.

Tracks modification times of source files (.rs, .toml, .lock) to determine which modules need recompilation.

Summary

Functions

Deletes the manifest file.

Returns the path to the manifest file.

Reads the manifest from disk. Returns an empty map if not found.

Returns the list of modules that need recompilation based on changed source files.

Updates the manifest entry for a compiled module by recording current mtimes of its source files.

Writes the manifest to disk.

Functions

clean()

Deletes the manifest file.

path()

Returns the path to the manifest file.

read()

Reads the manifest from disk. Returns an empty map if not found.

stale_modules(config)

Returns the list of modules that need recompilation based on changed source files.

update_module(manifest, module_config, config)

Updates the manifest entry for a compiled module by recording current mtimes of its source files.

write(manifest)

Writes the manifest to disk.