* Convert an absolute path to a relative path for a specific folder (dir) * ('test/test.md', 'hello.md') -> '../hello.md' * * @param {String} baseFile: current file * @param {String} file: absolute path of file * @return {String}
(baseFile, file)
| 110 | * @return {String} |
| 111 | */ |
| 112 | function relativeForFile(baseFile, file) { |
| 113 | return relative(path.dirname(baseFile), file); |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Compare two paths, return true if they are identical |
nothing calls this directly
no test coverage detected
searching dependent graphs…