-- want -- | |
valid: | |
$work/valid.go | |
omitted: | |
$work/.hg_archival.txt: file is inserted by 'hg archive' and is always omitted | |
$work/.git: directory is a version control repository | |
$work/sub: directory is in another module | |
$work/vendor/x/y: file is in vendor directory | |
invalid: | |
$work/GO.MOD: go.mod files must have lowercase names | |
$work/invalid.go': malformed file path "invalid.go'": invalid char '\'' | |
-- valid.go -- | |
-- GO.MOD -- | |
-- invalid.go' -- | |
-- vendor/x/y -- | |
-- sub/go.mod -- | |
-- .hg_archival.txt -- | |
-- .git/x -- |