Registry / utility / cachedir

cachedir

JSON →
library0.3.1rscratesunverified

A library to help interacting with cache directories and CACHEDIR.TAG files.

# Cargo.toml [dependencies] cachedir = "0.3.1"
INSTALL
IMPORT
SIG · CACHEDIR
C
cachedir
utilityrustv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

is_tagged
use cachedir::is_tagged;

Checks if a directory is tagged as a cache directory.

use cachedir::is_tagged; let path = std::path::Path::new("/tmp/my-cache"); if is_tagged(path).unwrap() { println!("Directory is a cache directory"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
cachedir — cargo add cachedir · libregistry