Files
2026-03-12 00:22:17 +01:00

4 lines
137 B
Swift

func createFile(at path: String, contents: String = "") throws {
try contents.write(toFile: path, atomically: false, encoding: .utf8)
}