Publish v1.0
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
t.schmitt committed 2022-10-17 11:24:27 +02:00
1 parent a99466f258
commit 6203700b0c
87 files changed
+3112 -1223

No files matched your search

@@ -0,0 +1,18 @@
//
// StringExtensions.swift
//
//
// Created by Thibaut Schmitt on 31/08/2022.
//
import Foundation
extension String {
func prependIfRelativePath(_ prependPath: String) -> String {
if self.hasPrefix("/") {
return self
}
return prependPath + self
}
}