|
@ -117,7 +117,6 @@ func (mc *MetaCache) ListDirectoryEntries(ctx context.Context, dirPath util.Full |
|
|
mc.RLock() |
|
|
mc.RLock() |
|
|
defer mc.RUnlock() |
|
|
defer mc.RUnlock() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if !mc.visitedBoundary.HasVisited(dirPath) { |
|
|
if !mc.visitedBoundary.HasVisited(dirPath) { |
|
|
return nil, fmt.Errorf("unsynchronized dir: %v", dirPath) |
|
|
return nil, fmt.Errorf("unsynchronized dir: %v", dirPath) |
|
|
} |
|
|
} |
|
|