|
@@ -40,7 +40,7 @@ class Path {
|
|
|
|
|
|
If the path has no directory, the value is `null`.
|
|
If the path has no directory, the value is `null`.
|
|
**/
|
|
**/
|
|
- public var dir : String;
|
|
|
|
|
|
+ public var dir : Null<String>;
|
|
|
|
|
|
/**
|
|
/**
|
|
The file name.
|
|
The file name.
|
|
@@ -60,7 +60,7 @@ class Path {
|
|
|
|
|
|
If the path has no extension, the value is `null`.
|
|
If the path has no extension, the value is `null`.
|
|
**/
|
|
**/
|
|
- public var ext : String;
|
|
|
|
|
|
+ public var ext : Null<String>;
|
|
|
|
|
|
/**
|
|
/**
|
|
`true` if the last directory separator is a backslash, `false` otherwise.
|
|
`true` if the last directory separator is a backslash, `false` otherwise.
|
|
@@ -154,7 +154,7 @@ class Path {
|
|
/**
|
|
/**
|
|
Returns the extension of `path`.
|
|
Returns the extension of `path`.
|
|
|
|
|
|
- If the extension is `null`, the empty String `""` is returned.
|
|
|
|
|
|
+ If `path` has no extension, the empty String `""` is returned.
|
|
|
|
|
|
If `path` is `null`, the result is unspecified.
|
|
If `path` is `null`, the result is unspecified.
|
|
**/
|
|
**/
|