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
F12839025: D13424.id32817.diff
Thu, Mar 28, 7:00 PM
Unknown Object (File)
Wed, Mar 27, 8:16 PM
Unknown Object (File)
Tue, Mar 26, 3:44 AM
Unknown Object (File)
Tue, Mar 5, 12:41 AM
Unknown Object (File)
Feb 14 2024, 5:59 AM
Unknown Object (File)
Feb 8 2024, 7:25 AM
Unknown Object (File)
Feb 7 2024, 5:49 AM
Unknown Object (File)
Jan 15 2024, 7:19 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