"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "crates/ignore/src/pathutil.rs" between
ripgrep-12.1.1.tar.gz and ripgrep-13.0.0.tar.gz

About: ripgrep is a command line search tool ("rg") that tries to combine the usability of "ag" (an "ack" clone) with the raw speed of GNU "grep" (written in "Rust").

pathutil.rs  (ripgrep-12.1.1):pathutil.rs  (ripgrep-13.0.0)
use std::ffi::OsStr; use std::ffi::OsStr;
use std::path::Path; use std::path::Path;
use walk::DirEntry; use crate::walk::DirEntry;
/// Returns true if and only if this entry is considered to be hidden. /// Returns true if and only if this entry is considered to be hidden.
/// ///
/// This only returns true if the base name of the path starts with a `.`. /// This only returns true if the base name of the path starts with a `.`.
/// ///
/// On Unix, this implements a more optimized check. /// On Unix, this implements a more optimized check.
#[cfg(unix)] #[cfg(unix)]
pub fn is_hidden(dent: &DirEntry) -> bool { pub fn is_hidden(dent: &DirEntry) -> bool {
use std::os::unix::ffi::OsStrExt; use std::os::unix::ffi::OsStrExt;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)