mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-14 09:12:24 +01:00
Add --cache-dir option
This commit is contained in:
@@ -216,6 +216,10 @@ pub fn config_dir() -> Cow<'static, str> {
|
||||
PROJECT_DIRS.config_dir().to_string_lossy()
|
||||
}
|
||||
|
||||
pub fn cache_dir() -> Cow<'static, str> {
|
||||
PROJECT_DIRS.cache_dir().to_string_lossy()
|
||||
}
|
||||
|
||||
pub fn clear_assets() {
|
||||
print!("Clearing theme set cache ... ");
|
||||
fs::remove_file(theme_set_path()).ok();
|
||||
|
Reference in New Issue
Block a user