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
Unknown Object (File)
Wed, Nov 20, 6:51 AM
Unknown Object (File)
Sat, Nov 16, 3:19 PM
Unknown Object (File)
Tue, Nov 12, 3:28 AM
Unknown Object (File)
Fri, Nov 8, 1:36 AM
Unknown Object (File)
Thu, Nov 7, 10:11 AM
Unknown Object (File)
Thu, Oct 31, 1:39 PM
Unknown Object (File)
Oct 23 2024, 5:38 AM
Unknown Object (File)
Oct 21 2024, 2:23 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