mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-20 09:08:46 +03:00
10 lines
212 B
Swift
10 lines
212 B
Swift
import Foundation
|
|
import PathKit
|
|
|
|
extension Path {
|
|
|
|
func byRemovingBase(path: Path) -> Path {
|
|
return Path(normalize().string.replacingOccurrences(of: "\(path.normalize().string)/", with: ""))
|
|
}
|
|
}
|