Lines Matching defs:dir
133 * dir?: string;
143 const dir = pathObject.dir || pathObject.root;
146 if (!dir) {
149 return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep}${base}`;
905 * dir: string;
915 const ret = { root: '', dir: '', base: '', ext: '', name: '' };
927 ret.root = ret.dir = path;
979 ret.root = ret.dir = path;
987 ret.root = ret.dir = path;
1006 // Get non-dir info
1053 // If the directory is the root, use the entire root as the `dir` including
1057 ret.dir = StringPrototypeSlice(path, 0, startPart - 1);
1059 ret.dir = ret.root;
1441 * dir: string;
1451 const ret = { root: '', dir: '', base: '', ext: '', name: '' };
1473 // Get non-dir info
1522 ret.dir = StringPrototypeSlice(path, 0, startPart - 1);
1524 ret.dir = '/';