(activeEditor: TextEditor)
| 32 | } |
| 33 | |
| 34 | export function getDirectoryPath(activeEditor: TextEditor) { |
| 35 | const active = _getPath(activeEditor, false); |
| 36 | return dirname(active.fsPath, active.path); |
| 37 | } |
| 38 | |
| 39 | export function getRelativePath(activeEditor: TextEditor) { |
| 40 | return _getPath(activeEditor, true).fsPath; |