Closed fiag closed 11 months ago
doing this would mean that the index would no longer be atomic. That's why deletions are done through appending null.
the JS version of cacache has a verify()
method that is expected to be called in a "locked" environment when nothing else is running. I'd like to have that in cacache-rs too.
After read verify() method, seem that this method does not delete index files. And the index with an integrity of null will be ignored in the index::ls()
method.
According the npm/cacache rm.entry API
thanks a lot!