Home
last modified time | relevance | path

Searched refs:isDirectory (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DtruthinessCallExpressionCoercion.js77 if (stats.isDirectory) { // err
83 if (a.stats.isDirectory) { // err
84 b.stats.isDirectory();
86 if (a.stats.isDirectory) { // ok
87 a.stats.isDirectory();
92 isDirectory(): boolean;
161 if (stats.isDirectory) { // err
166 if (a.stats.isDirectory) { // err
167 b.stats.isDirectory();
169 if (a.stats.isDirectory) { // ok
[all …]
DtruthinessCallExpressionCoercion.symbols160 if (stats.isDirectory) { // err
161 >stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, 24…
163 >isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, 24))
182 if (a.stats.isDirectory) { // err
183 >a.stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, …
187 >isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, 24))
189 b.stats.isDirectory();
190 >b.stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, …
194 >isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, 24))
196 if (a.stats.isDirectory) { // ok
[all …]
DtruthinessCallExpressionCoercion.types185 if (stats.isDirectory) { // err
186 >stats.isDirectory : () => boolean
188 >isDirectory : () => boolean
207 if (a.stats.isDirectory) { // err
208 >a.stats.isDirectory : () => boolean
212 >isDirectory : () => boolean
214 b.stats.isDirectory();
215 >b.stats.isDirectory() : boolean
216 >b.stats.isDirectory : () => boolean
220 >isDirectory : () => boolean
[all …]
DtruthinessCallExpressionCoercion.errors.txt96 if (stats.isDirectory) { // err
104 if (a.stats.isDirectory) { // err
107 b.stats.isDirectory();
109 if (a.stats.isDirectory) { // ok
110 a.stats.isDirectory();
115 isDirectory(): boolean;
DtypeGuardOfFormThisMember.js12 get isDirectory(): this is Directory {
41 else if (file.isDirectory) {
158 else if (file.isDirectory) {
185 get isDirectory(): this is Directory;
DtypeGuardOfFormThisMember.types26 get isDirectory(): this is Directory {
27 >isDirectory : boolean
126 else if (file.isDirectory) {
127 >file.isDirectory : boolean
129 >isDirectory : boolean
DtypeGuardOfFormThisMember.symbols27 get isDirectory(): this is Directory {
28 >isDirectory : Symbol(FileSystemObject.isDirectory, Decl(typeGuardOfFormThisMember.ts, 9, 3))
117 else if (file.isDirectory) {
118 >file.isDirectory : Symbol(FileSystemObject.isDirectory, Decl(typeGuardOfFormThisMember.ts, 9, 3))
120 >isDirectory : Symbol(FileSystemObject.isDirectory, Decl(typeGuardOfFormThisMember.ts, 9, 3))
/third_party/typescript/tests/cases/compiler/
DtruthinessCallExpressionCoercion.ts78 if (stats.isDirectory) { // err
84 if (a.stats.isDirectory) { // err
85 b.stats.isDirectory();
87 if (a.stats.isDirectory) { // ok
88 a.stats.isDirectory();
93 isDirectory(): boolean; method
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/test/
Dnode_path.js15 return cb(null, stat.isDirectory());
28 isDirectory: isDir property
40 isDirectory: isDir property
52 isDirectory: isDir property
64 isDirectory: isDir property
/third_party/node/test/parallel/
Dtest-fs-mkdir.js112 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
125 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
134 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
182 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
195 assert.strictEqual(fs.statSync(pathname).isDirectory(), false);
277 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
291 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
305 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
318 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
330 assert.strictEqual(fs.statSync(pathname).isDirectory(), true);
[all …]
Dtest-fs-promises.js321 assert(stats.isDirectory());
342 assert(stats.isDirectory());
350 assert(stats.isDirectory());
358 assert(stats.isDirectory());
399 assert(stats.isDirectory());
407 assert(stats.isDirectory());
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecator.java69 if (!(srcDir.exists() && srcDir.isDirectory())) { in main()
81 } else if (!dstDir.isDirectory()) { in main()
130 if (new File(dir, name).isDirectory()) {
144 if (f.isDirectory()) { in process()
150 } else if (!d.isDirectory()) { in process()
/third_party/node/deps/npm/test/tap/
Dcorrect-mkdir.js18 isDirectory: function () { method
69 isDirectory: function () { method
109 isDirectory: function () { method
144 isDirectory: function () { method
Dci-with-local-dependency.js69 …solve(pkg, 'node_modules/local-dependency/node_modules/test-package')).isDirectory(), 'transitive …
79 …solve(pkg, 'node_modules/local-dependency/node_modules/test-package')).isDirectory(), 'transitive …
/third_party/typescript/scripts/types/
Dambient.d.ts38 isDirectory(): this is T extends null ? File.Directory : never;
63 isDirectory(): true; method
69 isDirectory(): this is never; method
/third_party/node/deps/npm/node_modules/fs-vacuum/test/
Dother-directories-no-purge.js59 t.notOk(stat && stat.isDirectory(), verifyPath + ' is totally gone')
66 t.ok(stat && stat.isDirectory(), otherPath + ' is still a directory')
72 t.ok(stat && stat.isDirectory(), intersection + ' is still a directory')
Dno-entries-no-purge.js50 t.notOk(stat && stat.isDirectory(), verifyPath + ' is totally gone')
57 t.ok(stat && stat.isDirectory(), testBase + ' is still a directory')
/third_party/typescript/src/harness/
DvfsUtil.ts209 if (!isDirectory(node)) throw createIOError("ENOTDIR");
223 if (!isDirectory(node)) throw createIOError("ENOTDIR");
305 … if (stats.isDirectory() && (!traversal.traverse || traversal.traverse(path, stats))) {
349 else if (stats.isDirectory()) {
389 if (isDirectory(node)) {
496 if (!isDirectory(node)) throw createIOError("ENOTDIR");
533 if (!isDirectory(node)) throw createIOError("ENOTDIR");
551 if (isDirectory(node)) throw createIOError("EPERM");
573 if (isDirectory(node)) throw createIOError("EISDIR");
597 if (isDirectory(node)) {
[all …]
/third_party/node/deps/npm/node_modules/fs-vacuum/
Dvacuum.js37 if (!(stat && (stat.isDirectory() || stat.isSymbolicLink() || stat.isFile()))) {
49 } else if (!stat.isDirectory()) {
96 var remove = stat.isDirectory() ? rmdir : unlink
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/index/
DIndexGenerator.java39 if (!inDir.isDirectory()) { in main()
46 if (!outDir.isDirectory() || !outDir.exists()) { in main()
55 if (!files[i].isDirectory()) { in main()
/third_party/node/lib/internal/fs/
Drimraf.js75 } else if (stats.isDirectory()) {
105 if (stats.isDirectory())
191 if (stats !== undefined && stats.isDirectory())
290 if (stats.isDirectory())
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
DCleanOutputDirectoryTask.java149 checkBuild(Files.isDirectory(root), "specified root '%s' is not a directory", root); in execute()
158 checkBuild(Files.isDirectory(dirPath), "'%s' is not a directory", dirPath); in execute()
201 .filter(p -> !Files.isDirectory(p)) in execute()
208 .filter(p -> Files.isDirectory(p)) in execute()
321 checkArgument(!Files.isDirectory(p), "Cannot delete directories: %s", p); in deleteAllFiles()
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardOfFormThisMember.ts13 get isDirectory(): this is Directory { method in Test.FileSystemObject
42 else if (file.isDirectory) {
/third_party/node/deps/npm/node_modules/tar/lib/
Dmkdir.js42 if (er || !st.isDirectory())
112 } else if (st.isDirectory())
135 ok = fs.statSync(dir).isDirectory()
198 if (st.isDirectory()) {
/third_party/node/deps/npm/node_modules/make-dir/
Dindex.js45 .then(stats => stats.isDirectory() ? pth : Promise.reject())
73 if (!opts.fs.statSync(pth).isDirectory()) {

1234567