Ignore directory prefixed with dot
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 906
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
When running go test ./...
Directories prefiexed with dot :
.mongo-data
in my case, is ignored by go
Using gow test ./...
seems to reading that directory,
The problem is, that that directory is bound to container, thus resulting in this error:
.mongo-data/journal: permission denied
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem with gow test ./... and a dot-prefixed directory such as .mongo-data mounted from a container. Trace how directory arguments are discovered and compare the behavior with go test ./...; done means dot-prefixed directories are ignored without breaking normal watching or testing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100