1.0 quality polish — code review, tests, bug fixes, documentation #32

Open
clawbot wants to merge 11 commits from feature/1.0-polish into next
Showing only changes of commit 008f270d90 - Show all commits

View File

@ -352,8 +352,10 @@ func TestIsHiddenPath(t *testing.T) {
{"/absolute/.hidden", true}, {"/absolute/.hidden", true},
{"./relative", false}, // path.Clean removes leading ./ {"./relative", false}, // path.Clean removes leading ./
{"a/b/c/.d/e", true}, {"a/b/c/.d/e", true},
{".", false}, // current directory is not hidden {".", false}, // current directory is not hidden (#14)
{"/", false}, // root is not hidden {"/", false}, // root is not hidden
{"./", false}, // current directory with trailing slash
{"./file.txt", false}, // file in current directory
} }
for _, tt := range tests { for _, tt := range tests {