Page MenuHomePhabricator

Add a method for determining the relative path
Needs ReviewPublic

Authored by joshuaspence on Jun 25 2015, 10:12 AM.
Tags
None
Referenced Files
F14779313: D13424.id32817.diff
Fri, Jan 24, 6:46 AM
F14779311: D13424.id32507.diff
Fri, Jan 24, 6:45 AM
F14779310: D13424.id.diff
Fri, Jan 24, 6:45 AM
Unknown Object (File)
Thu, Jan 23, 9:10 AM
Unknown Object (File)
Tue, Jan 21, 11:06 AM
Unknown Object (File)
Wed, Jan 15, 7:40 PM
Unknown Object (File)
Thu, Jan 9, 7:57 AM
Unknown Object (File)
Wed, Jan 1, 9:38 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

Adds a Filesystem::relativePath method for determining the relative path between two specified paths. The implementation was based on a post on StackOverflow.

I am using this method in a third party library, but I figured that it is potentially useful enough to be submitted upstream.

Test Plan

Added unit tests.

Diff Detail

Repository
rPHU libphutil
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7180
Build 7405: [Placeholder Plan] Wait for 30 Seconds
Build 7404: arc lint + arc unit