Skip to content
Snippets Groups Projects
  • Yorhel's avatar
    a28a0788
    Implement --exclude-kernfs and --exclude-pattern · a28a0788
    Yorhel authored
    Eaiser to implement now that we're linking against libc.
    
    But exclude pattern matching is extremely slow, so that should really be
    rewritten with a custom fnmatch implementation. It's exactly as slow as
    in ncdu 1.x as well, I'm surprised nobody's complained about it yet.
    And while I'm at it, supporting .gitignore-style patterns would be
    pretty neat, too.
    a28a0788
    History
    Implement --exclude-kernfs and --exclude-pattern
    Yorhel authored
    Eaiser to implement now that we're linking against libc.
    
    But exclude pattern matching is extremely slow, so that should really be
    rewritten with a custom fnmatch implementation. It's exactly as slow as
    in ncdu 1.x as well, I'm surprised nobody's complained about it yet.
    And while I'm at it, supporting .gitignore-style patterns would be
    pretty neat, too.