Skip to content

📁Finds path from one directory to another directory 📁

Notifications You must be signed in to change notification settings

mikhomak/Relative-Path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Relative Path

Equivalent to the getrelativepath from c#

Finds path from one directory to another directory. See dotNet documentation to see more

Usage:

  1. First input is the path to the directory to start with
  2. Second input is the path from any directory that exists in the path in the first path to find the last directory
  3. The output will be a path that we need to go to get from First Input Directory to the Secodn Input Directory

Example:

  • First input(path to start with) - ./aa/././bb/./cc
  • Second input(path to find the directory) - aa/cc/dd
  • Result - ../../cc/

About

📁Finds path from one directory to another directory 📁

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages