goelhardik / ignore

.gitignore based parser implemented in C# according to the .gitignore spec 2.29.2.
MIT License
50 stars 5 forks source link

Absolute path not property handled #19

Closed jairbubbles closed 3 years ago

jairbubbles commented 3 years ago
        [Fact]
        public void SimpleIgnore_Dotfiles_WithStar2() => GitBasedTest(
            @"""
.vs/*
""",
            new[] { "C:/foo/.vs/a.txt", "foo/.vs/a.txt", ".vs/a.txt" });

C:/foo/.vs/a.txt should be ignored by the lib and is not.

I'm not sure why "foo/.vs/a.txt" is not ignored though 😔

jairbubbles commented 3 years ago

Humm not sure the tests are supposed to handle properly the absolute paths.