Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leading slash directory doesn't work. you will see all files within the root directory #65

Open
rlam3 opened this issue Jan 18, 2024 · 2 comments

Comments

@rlam3
Copy link

rlam3 commented Jan 18, 2024

hey @mherrmann. thanks for this python module.

we discovered that a .gitignore with a leading slash directory doesn't work
you will see all files within the root directory

for instance

root
--node_modules
--etc 

whenever you read a .gitignore with a leading slash it still is not able to pick up those paths

example .gitignore may look like the following

/node_modules

and this will return false coming back

@Illegal-Services
Copy link

UP

@astos-marcb
Copy link

Thanks @rlam3 for bringing that specific one to my attention.

@pacha it seems py_walk v0.3.1 is still failing on this regarding the anchored condition part.

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

No branches or pull requests

3 participants