ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Relative directory toString() value #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(new Directory('.')).toString() == '.'
(new Directory('..')).toString() == '..'

I suspect original directories names...

Original issue reported on code.google.com by mr.ve...@gmail.com on 14 Nov 2009 at 12:23

GoogleCodeExporter commented 9 years ago
Hm, I am not sure here. My original intention was "new Directory(x).toString() 
== x";
perhaps some module with path utilities (dirname, basename, path expansions...) 
might
be feasible here?

Original comment by ondrej.zara on 14 Nov 2009 at 8:55

GoogleCodeExporter commented 9 years ago
Yes, I think dedicated module with batch of functionality about dirnames, abs 
and rel
paths better here.

Original comment by mr.ve...@gmail.com on 14 Nov 2009 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 14 Nov 2009 at 2:47

GoogleCodeExporter commented 9 years ago
Path-based functions will be part of the FS/IO module, currently being 
specified by
CommonJS.

Original comment by ondrej.zara on 27 Nov 2009 at 1:39