29 lines
547 B
Haxe
29 lines
547 B
Haxe
package node.path;
|
|
|
|
typedef FormatInputPathObject = {
|
|
/**
|
|
The root of the path such as '/' or 'c:\'
|
|
**/
|
|
@:optional
|
|
var root : String;
|
|
/**
|
|
The full directory path such as '/home/user/dir' or 'c:\path\dir'
|
|
**/
|
|
@:optional
|
|
var dir : String;
|
|
/**
|
|
The file name including extension (if any) such as 'index.html'
|
|
**/
|
|
@:optional
|
|
var base : String;
|
|
/**
|
|
The file extension (if any) such as '.html'
|
|
**/
|
|
@:optional
|
|
var ext : String;
|
|
/**
|
|
The file name without extension (if any) such as 'index'
|
|
**/
|
|
@:optional
|
|
var name : String;
|
|
}; |