Missing functions

This commit is contained in:
Max Howell
2019-01-17 17:22:08 -05:00
parent 97e9cbaa8f
commit 4af0ee3983
3 changed files with 20 additions and 2 deletions

View File

@@ -14,6 +14,10 @@ public extension Bundle {
public var resources: Path? {
return resourcePath.flatMap(Path.init)
}
public var path: Path {
return Path(string: bundlePath)
}
}
public extension String {