Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrt committed Mar 24, 2024
1 parent 31906a7 commit e9451bc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/trans/algo.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ func (t Algo) validateReadonly(ctx context.Context, vstate *validationState, tx
}

func (t Algo) validateLocalRead(ctx context.Context, item *pathState) error {
if item.NotFound {
return t.validateReadNotFound(ctx, item)
}

// We need the freshest possible meta, because we don't have a lock.
meta, err := t.global.GetMetadata(ctx, item.Path)
if err != nil {
Expand Down

0 comments on commit e9451bc

Please sign in to comment.