Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
EdSchouten committed Mar 7, 2024
1 parent ad659bd commit 077b947
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/filesystem/virtual/bazel_output_service_directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,11 +606,10 @@ func (d *BazelOutputServiceDirectory) BatchStat(ctx context.Context, request *ba
}
for _, statPath := range request.Paths {
statWalker := statWalker{
stack: util.NewNonEmptyStack[virtual.PrepopulatedDirectory](outputPathState.rootDirectory),
stat: &bazeloutputservice.BatchStatResponse_Stat{},
digestFunction: &buildState.digestFunction,
stack: util.NewNonEmptyStack[virtual.PrepopulatedDirectory](outputPathState.rootDirectory),
stat: &bazeloutputservice.BatchStatResponse_Stat{},
}
statWalker.digestFunction = &buildState.digestFunction

resolvedPath, scopeWalker := path.EmptyBuilder.Join(
buildState.scopeWalkerFactory.New(path.NewLoopDetectingScopeWalker(&statWalker)))
if err := path.Resolve(statPath, scopeWalker); err == syscall.ENOENT {
Expand Down

0 comments on commit 077b947

Please sign in to comment.