Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ios): add path utilities to bridge #3842

Merged
merged 15 commits into from
Nov 28, 2020
4 changes: 2 additions & 2 deletions ios/Capacitor/Capacitor/CAPFile.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
public class CAPFile {
var url: URL
public let url: URL

public init(url: URL) {
self.url = url
Expand All @@ -11,7 +11,7 @@ public class CAPFile {
* disk, in a bundle, or in another location.
*/
@objc public class CAPFileManager: NSObject {
static func get(path: String) -> CAPFile? {
public static func get(path: String) -> CAPFile? {
imhoffd marked this conversation as resolved.
Show resolved Hide resolved
imhoffd marked this conversation as resolved.
Show resolved Hide resolved
let handlers: [String: CAPFileResolver.Type] = [
"res://": CAPFileResolverResource.self,
"file://": CAPFileResolverFile.self,
Expand Down