Open
Bug 1746703
Opened 3 years ago
Updated 25 days ago
PathUtils: Support for creating relative paths
Categories
(Core :: XPCOM, task, P4)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: beth, Unassigned)
References
Details
PathUtils.joinRelative(parent, relative)
exists to join a relative path (ie., relative
may contain path separators), but we don't expose methods for creating such relative paths and we don't expose the directory separator.
Something like PathUtils.makeSubpath(...components)
which asserts components[0] is not an absolute path, components[1..] are none of '.'
or '..'
and do not contain directory separators
Reporter | ||
Updated•2 years ago
|
Component: OS.File → IOUtils and PathUtils
Reporter | ||
Comment 1•25 days ago
|
||
Mass move of open Toolkit :: IOUtils and PathUtils bugs to Core :: XPCOM
Component: IOUtils and PathUtils → XPCOM
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•