Next in Review Queue: The New std.path
Lars T. Kyllingstad
public at kyllingen.NOSPAMnet
Fri Jul 15 08:10:41 PDT 2011
On Fri, 15 Jul 2011 14:12:55 +0200, Mafi wrote:
> What about longname becoming longna~1 on dos/emulators etc. Expanding
> this back needs information about the actual state of the file system so
> I don't now if such a function belongs to std.path but a longname.png =>
> longna~1.png belongs IMO to std.path .
That too, requires information about the state of the filesystem. For
instance, if the file "longnaps" already exists, and is abbreviated to
"longna~1", the correct abbreviation of "longname" would be "longna~2".
-Lars
More information about the Digitalmars-d
mailing list