Skip to content

Commit

Permalink
Triclops::Utils::UriUtils.location_uri_to_file_path method comment up…
Browse files Browse the repository at this point in the history
…date
  • Loading branch information
elohanlon committed Dec 24, 2024
1 parent f0dad52 commit b453873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/triclops/utils/uri_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def self.file_path_to_location_uri(path)
"file://#{Addressable::URI.encode(path).gsub('&', '%26').gsub('#', '%23')}"
end

# Converts a file, railsroot, or placeholder URI to a file path
def self.location_uri_to_file_path(location_uri)
parsed_uri = Addressable::URI.parse(location_uri)
uri_scheme = parsed_uri.scheme
Expand Down

0 comments on commit b453873

Please sign in to comment.