|
|
public static func withFileOpenedForMode<Result>(path: String, mode: String, _ f: File throws -> Result) throws -> Result {
|
|
public static func withFileOpenedForMode<Result>(path: String, mode: String, _ f: File throws -> Result) throws -> Result {
|
|
|
let file = try File.openFileForMode(path, mode)
|
|
let file = try File.openFileForMode(path, mode)
|