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

Ignore domain sockets #549

Merged
merged 3 commits into from
Apr 9, 2024
Merged

Ignore domain sockets #549

merged 3 commits into from
Apr 9, 2024

Conversation

avidrissman
Copy link
Contributor

On the Mac, git fsmonitor uses a domain socket in the .git/ folder to keep track of the fsmonitor process. cas chokes on that (see https://crbug.com/40270112).

Therefore, ignore domain sockets.

On the Mac, git fsmonitor uses a domain socket in the .git/ folder to keep track of the fsmonitor process. cas chokes on that (see https://crbug.com/40270112).

Therefore, ignore domain sockets.
go/pkg/cas/upload.go Outdated Show resolved Hide resolved
go/pkg/cas/upload.go Outdated Show resolved Hide resolved
@mrahs
Copy link
Collaborator

mrahs commented Apr 9, 2024

Also, CI wants gofmt -w ..

go/pkg/cas/upload.go Outdated Show resolved Hide resolved
@mrahs mrahs merged commit c1bc825 into bazelbuild:master Apr 9, 2024
6 checks passed
@avidrissman avidrissman deleted the patch-1 branch April 9, 2024 23:45
avidrissman added a commit to avidrissman/remote-apis-sdks that referenced this pull request May 20, 2024
Correct bazelbuild#549.

The intention was to skip the file with an unexpected mode, but the “nil, nil” return was actually done in a nested function.

Return ErrSkip to escape the nested function, and correctly return “nil, nil” from visitPath, as was intended.
mrahs pushed a commit that referenced this pull request May 21, 2024
Correct #549.

The intention was to skip the file with an unexpected mode, but the “nil, nil” return was actually done in a nested function.

Return ErrSkip to escape the nested function, and correctly return “nil, nil” from visitPath, as was intended.
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

Successfully merging this pull request may close these issues.

None yet

2 participants