Skip to content

Commit 4993523

Browse files
committed
Make public
1 parent b588786 commit 4993523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/swift-utilities/String+Tools.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public extension String {
7878

7979
//https://stackoverflow.com/questions/27327067/append-text-or-data-to-text-file-in-swift
8080

81-
extension String {
81+
public extension String {
8282
func appendLineToURL(fileURL: URL) throws {
8383
try (self + "\n").appendToURL(fileURL: fileURL)
8484
}
@@ -89,7 +89,7 @@ extension String {
8989
}
9090
}
9191

92-
extension Data {
92+
public extension Data {
9393
func append(fileURL: URL) throws {
9494
if let fileHandle = FileHandle(forWritingAtPath: fileURL.path) {
9595
defer {

0 commit comments

Comments
 (0)