We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0dad52 commit b453873Copy full SHA for b453873
lib/triclops/utils/uri_utils.rb
@@ -10,6 +10,7 @@ def self.file_path_to_location_uri(path)
10
"file://#{Addressable::URI.encode(path).gsub('&', '%26').gsub('#', '%23')}"
11
end
12
13
+ # Converts a file, railsroot, or placeholder URI to a file path
14
def self.location_uri_to_file_path(location_uri)
15
parsed_uri = Addressable::URI.parse(location_uri)
16
uri_scheme = parsed_uri.scheme
0 commit comments