mirror of
https://github.com/sharkdp/bat
synced 2024-11-28 06:40:26 +00:00
Make get_cache_dir private
This commit is contained in:
parent
95a56a2795
commit
c8273369cc
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ impl BatProjectDirs {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn get_cache_dir() -> Option<PathBuf> {
|
||||
fn get_cache_dir() -> Option<PathBuf> {
|
||||
// on all OS prefer BAT_CACHE_PATH if set
|
||||
let cache_dir_op = env::var_os("BAT_CACHE_PATH").map(PathBuf::from);
|
||||
if cache_dir_op.is_some() {
|
||||
|
|
Loading…
Reference in a new issue