Mercurial > projects > dwt-addons
comparison dwtx/core/runtime/Path.d @ 97:0168c579a3f9
Fix path handling, thanks yidabu for reporting.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 01 Aug 2008 07:06:52 +0200 |
parents | 1088ca33d3e0 |
children |
comparison
equal
deleted
inserted
replaced
96:b492ba44e44d | 97:0168c579a3f9 |
---|---|
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwtx.core.runtime.Path; | 13 module dwtx.core.runtime.Path; |
14 | 14 |
15 import tango.io.FilePath; | 15 import tango.io.FilePath; |
16 static import tango.io.Path; | |
16 import dwtx.core.runtime.IPath; | 17 import dwtx.core.runtime.IPath; |
17 import dwtx.core.runtime.Assert; | 18 import dwtx.core.runtime.Assert; |
18 | 19 |
19 import dwt.dwthelper.utils; | 20 import dwt.dwthelper.utils; |
20 | 21 |
883 | 884 |
884 /* (Intentionally not included in javadoc) | 885 /* (Intentionally not included in javadoc) |
885 * @see IPath#toFile() | 886 * @see IPath#toFile() |
886 */ | 887 */ |
887 public FilePath toFile() { | 888 public FilePath toFile() { |
888 return new FilePath(toOSString()); | 889 return new FilePath(tango.io.Path.standard(toOSString())); |
889 } | 890 } |
890 | 891 |
891 /* (Intentionally not included in javadoc) | 892 /* (Intentionally not included in javadoc) |
892 * @see IPath#toOSString() | 893 * @see IPath#toOSString() |
893 */ | 894 */ |