Skip to content

Commit 83e7635

Browse files
committed
update comment
1 parent 54d5d3e commit 83e7635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSCBasic/FileSystem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public class InMemoryFileSystem: FileSystem {
552552
/// reality, the only practical use for InMemoryFileSystem is for unit
553553
/// tests.
554554
private let lock = Lock()
555-
/// Exclusive file system lock vended to clients through `withLock()`.
555+
/// A map that keeps weak references to all locked files.
556556
private var lockFiles = Dictionary<AbsolutePath, WeakReference<DispatchQueue>>()
557557
/// Used to access lockFiles in a thread safe manner.
558558
private let lockFilesLock = Lock()

0 commit comments

Comments
 (0)