pub fn inventory(home: &Path) -> Vec<Entry>Expand description
Every cache directory magi knows about under home, whether or not
anything holds it right now. A lease file reports the current borrower;
once released it is gone (by design — see Guard::release), so a
directory nobody is borrowing is reported from the catalog instead,
carrying its last known owner rather than nothing at all. There is
nothing here for a directory this process has never leased: inventory
answers “what has magi registered”, not “what looks like a build cache”.