Class TraceFileCacheBuilder
Builds a .typhon-trace-cache sidecar by scanning a source .typhon-trace file in one linear pass.
Implementation has been refactored to IncrementalCacheBuilder; this type now exists as a thin façade so existing
callers (workbench replay path, Typhon.Engine tests, future tooling) continue to work without changes.
public static class TraceFileCacheBuilder
- Inheritance
-
TraceFileCacheBuilder
- Inherited Members
Methods
Build(string, string, IProgress<BuildProgress>)
Scan sourcePath and write a fresh sidecar cache to cachePath. Overwrites any existing cache at that
path. Returns the high-level build result for logging / diagnostics.
public static TraceFileCacheBuilder.BuildResult Build(string sourcePath, string cachePath, IProgress<TraceFileCacheBuilder.BuildProgress> progress = null)
Parameters
sourcePathstringcachePathstringprogressIProgress<TraceFileCacheBuilder.BuildProgress>
Returns
GetCachePathFor(string)
Standard sidecar-path convention: source foo.typhon-trace → cache foo.typhon-trace-cache.
public static string GetCachePathFor(string sourcePath)
Parameters
sourcePathstring