We could use some utility methods for path manipulation. Specifically:
a library that does not depend on dart:html, so that code that uses it is easy to test from CLI tests
a join() method (or j()?)
a separator substitution method - p(String posix) - which takes a posix separated path and returns the correct path for the current FS
the value of the current separator char, probably injected into the library from a separate library, that itself does have a the required node.js/dart:html dependency
We could use some utility methods for path manipulation. Specifically:
dart:html
, so that code that uses it is easy to test from CLI testsjoin()
method (orj()
?)p(String posix)
- which takes a posix separated path and returns the correct path for the current FS