Skip to content

Commit

Permalink
chore: util::expand_tilde is not used when building qsvlite
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Dec 5, 2024
1 parent 2d81b1d commit 0bd9d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2258,6 +2258,7 @@ pub fn optimal_batch_size(rconfig: &Config, batch_size: usize, num_jobs: usize)
/// Expand the tilde (`~`) from within the provided path.
/// copied from https://github.com/splurf/simple-expand-tilde
/// as it was just a small wrapper around simple_home_dir
#[cfg(not(feature = "lite"))]
pub fn expand_tilde(path: impl AsRef<Path>) -> Option<PathBuf> {
let p = path.as_ref();

Expand Down

0 comments on commit 0bd9d59

Please sign in to comment.