Commit 929160ab authored by Jonathan Hseu's avatar Jonathan Hseu Committed by TensorFlower Gardener
Browse files

Add a ParseURI function and remove the other URI parsing functions.

ParseURI provides all the functionality used by other filesystems right now, so we're able to remove their custom URI parsing code.

- Use ParseURI for URI parsing in GCS and HDFS.
- Note that this fixes a bug where FileSystem::TranslateName("file://foo/bar")
  gives "foo/bar" as the path. "file:///" is the correct prefix in that case.
Change: 134009580
parent f2225485
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment