diff --git a/Cargo.lock b/Cargo.lock index 9391479..8df15f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,7 +16,7 @@ checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" [[package]] name = "cache-manager" -version = "0.2.0" +version = "0.2.1" dependencies = [ "tempfile", ] diff --git a/Cargo.toml b/Cargo.toml index 53de04f..c97d5cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cache-manager" -version = "0.2.0" +version = "0.2.1" edition = "2024" description = "Simple managed directory system for project-scoped caches with optional eviction policies." license = "MIT OR Apache-2.0" diff --git a/README.md b/README.md index b635485..bc161e2 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,7 @@ println!("{}", entry_without_touch.display()); Discover a cache path for the current crate/workspace and resolve an entry path. -> Note: `from_discovery().cache_path(...)` only computes a filesystem path — it does not -> create directories or files. +> Note: `CacheRoot::from_discovery()?.cache_path(...)` only computes a filesystem path — it does not create directories or files. Behavior: