Ξ-W2-T1: the resample bake chain — instrument renders, extension banks, one click re-points and resets
This commit is contained in:
@@ -204,6 +204,19 @@ bool deleteOrphanFile(const std::string& absPath, bool& outUsedTrash,
|
||||
|
||||
} // namespace
|
||||
|
||||
tracking::Answer ReaSamplerSession::tiedUsageFor(const std::string& capturePath,
|
||||
const std::string& ownUsageKey) const {
|
||||
// The SECOND consumer of the same gather the prune scan above runs — deliberately
|
||||
// next to it, so "both answers come out of one TrackingState" is structural rather
|
||||
// than a rule two files have to remember.
|
||||
std::string rppPath;
|
||||
void* proj = readActiveProject(rppPath);
|
||||
if (!proj) return tracking::Answer::Indeterminate;
|
||||
const wire::UsageFoldResult usage = scanInstanceUsage(proj);
|
||||
const tracking::TrackingState state{trackingStatus_, tracking_, usage};
|
||||
return tracking::tiedUsageExists(state, capturePath, ownUsageKey);
|
||||
}
|
||||
|
||||
reclaim::PruneReport ReaSamplerSession::pruneDryRun() const {
|
||||
const PruneScan scan = scanPruneOrphans(book_, tracking_, trackingStatus_);
|
||||
reclaim::PruneReport report =
|
||||
|
||||
Reference in New Issue
Block a user