Skip to content

Conversation

s0up4200
Copy link
Contributor

Description

Improves path handling in ignore functionality to support both absolute and relative paths. This includes the --ignore-dirs flag, --ignore-dirs-pattern flag, and --ignore-from file patterns.

Changes

  • Updated all ignore mechanisms to support relative paths
  • Updated documentation in README.md, configuration.md, and gdu.1.md

Documentation

Updated all relevant documentation to reflect the new path handling capabilities.

Copy link
Owner

@dundee dundee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to keep the ShouldDirBeIgnored method as it is, but otherwise looks good. Thank you!

@dundee dundee merged commit 5bb1e09 into dundee:master Jan 16, 2025
7 of 8 checks passed
@dundee
Copy link
Owner

dundee commented Jan 16, 2025

Thanks for your contribution!

@s0up4200 s0up4200 deleted the feat/relative-path-ignore-support branch January 16, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants