File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public final class FileLock {
7777 /// Create an instance of FileLock at the path specified
7878 ///
7979 /// Note: The parent directory path should be a valid directory.
80- public init ( at lockFile: AbsolutePath ) {
80+ internal init ( at lockFile: AbsolutePath ) {
8181 self . lockFile = lockFile
8282 }
8383
@@ -191,7 +191,7 @@ public final class FileLock {
191191 return try await body ( )
192192 }
193193
194- private static func prepareLock(
194+ public static func prepareLock(
195195 fileToLock: AbsolutePath ,
196196 at lockFilesDirectory: AbsolutePath ? = nil
197197 ) throws -> FileLock {
Original file line number Diff line number Diff line change 1010
1111import XCTest
1212
13- import TSCBasic
13+ @ testable import TSCBasic
1414import TSCTestSupport
1515
1616class LockTests : XCTestCase {
You can’t perform that action at this time.
0 commit comments