You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 3, 2019. It is now read-only.
cacache.get.info returning path including cache dir, not relative path #165
The documentation for cacache.get.info says that the path property in the returned object will contain the filesystem path relative to the cache argument where content is stored. However, this doesn't seem to be the case:
Note that the path property includes the test-cache/ prefix, whereas based on the docs I would have expected it to not include that prefix. I opened an issue because I'm not sure if this is a bug or a documentation error (or if I'm just misinterpreting).
It's probably best to update the documentation here to be more clear. This is definitely a wording issue -- changing the path field to be what the docs seem to say would be a pretty impactful breaking change.
Activity
zkat commentedon Jun 16, 2019
It's probably best to update the documentation here to be more clear. This is definitely a wording issue -- changing the
pathfield to be what the docs seem to say would be a pretty impactful breaking change.Would you be up to filing a PR to fix the docs?
hdgarrood commentedon Jun 16, 2019
Yep, can do!
Fix docs for `path` property in get.info
docs: Fix docs for `path` property in get.info (#166)