File tree 2 files changed +3
-3
lines changed
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 {
77
77
/// Create an instance of FileLock at the path specified
78
78
///
79
79
/// Note: The parent directory path should be a valid directory.
80
- public init ( at lockFile: AbsolutePath ) {
80
+ internal init ( at lockFile: AbsolutePath ) {
81
81
self . lockFile = lockFile
82
82
}
83
83
@@ -191,7 +191,7 @@ public final class FileLock {
191
191
return try await body ( )
192
192
}
193
193
194
- private static func prepareLock(
194
+ public static func prepareLock(
195
195
fileToLock: AbsolutePath ,
196
196
at lockFilesDirectory: AbsolutePath ? = nil
197
197
) throws -> FileLock {
Original file line number Diff line number Diff line change 10
10
11
11
import XCTest
12
12
13
- import TSCBasic
13
+ @ testable import TSCBasic
14
14
import TSCTestSupport
15
15
16
16
class LockTests : XCTestCase {
You can’t perform that action at this time.
0 commit comments