Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 9,479 for exists (5.04 sec)

  1. command/e2etest/testdata/empty/.exists

    Radek Simko <******@****.***> 1561880316 +0200
    Others
    - Registered: 2021-10-29 08:04
    - Last Modified: 2019-06-30 08:16
    - Viewed (0)
  2. command/e2etest/testdata/provider-dev-override/pkgdir/.exists

    Martin Atkins <******@****.***> 1602723623 -0700
    Plain Text
    - Registered: 2021-10-29 08:04
    - Last Modified: 2020-10-16 21:31
    - 76 bytes
    - Viewed (0)
  3. std/fs/testdata/exists.ts

    import { exists } from "../exists.ts";
    
    exists(Deno.args[0])
      .then(isExist => {
        Deno.stdout.write(new TextEncoder().encode(isExist ? 'exist' :'not exist'))
      })
      .catch((err) => {
        Deno.stdout.write(new TextEncoder().encode(err.message))
    Plain Text
    - Registered: 2021-09-14 21:37
    - Last Modified: 2020-01-09 18:37
    - 254 bytes
    - Viewed (0)
  4. std/fs/exists.ts

    /**
     * Test whether or not the given path exists by checking with the file system
     */
    export async function exists(filePath: string): Promise<boolean> {
      try {
        await Deno.lstat(filePath);
        return true;
      } catch (err) {
        if (err instanceof Deno.errors.NotFound) {
          return false;
        }
    
        throw err;
      }
    }
    
    /**
     * Test whether or not the given path exists by checking with the file system
     */
    Plain Text
    - Registered: 2021-09-14 21:37
    - Last Modified: 2020-06-12 19:23
    - 708 bytes
    - Viewed (0)
  5. tests/flow-repo/config_module_name_rewrite_haste/Exists.js

    /**
     * @providesModule Exists
     * @flow
     */
    
    module.exports = {
      numVal: 42
    JavaScript
    - Registered: 2021-10-19 07:20
    - Last Modified: 2020-05-07 16:55
    - 79 bytes
    - Viewed (0)
  6. tests/flow-repo/config_module_name_rewrite_node/Exists.js

    fisker Cheung <******@****.***> 1588870546 +0800
    JavaScript
    - Registered: 2021-10-19 07:20
    - Last Modified: 2020-05-07 16:55
    - 48 bytes
    - Viewed (0)
  7. docs/content/en/functions/templates.Exists.md

    ---
    title: templates.Exists
    linktitle: ""
    description: "Checks whether a template file exists under the given path relative to the `layouts` directory."
    godocref: ""
    date: 2018-11-01
    publishdate: 2018-11-01
    lastmod: 2018-11-01
    categories: [functions]
    tags: []
    menu:
      docs:
        parent: "functions"
    ns: ""
    keywords: ["templates", "template", "layouts"]
    signature: ["templates.Exists PATH"]
    workson: []
    hugoversion: "0.46"
    aliases: []
    Plain Text
    - Registered: 2021-10-29 10:01
    - Last Modified: 2020-06-16 12:19
    - 1K bytes
    - Viewed (0)
  8. docs/api/shark-graph/shark/-heap-graph/object-exists.md

    # objectExists
    
    `abstract fun objectExists(objectId: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
    
    Plain Text
    - Registered: 2021-10-26 12:36
    - Last Modified: 2019-07-30 13:38
    - 473 bytes
    - Viewed (0)
  9. std/fs/exists_test.ts

        file: "no_exist_file_for_test.ts",
      },
      // 4
      {
        read: true,
        async: true,
        output: "not exist",
        file: "no_exist_file_for_test.ts",
      },
      {
        read: true,
        async: false,
        output: "not exist",
        file: "no_exist_file_for_test.ts",
      },
    ];
    
    for (const s of scenes) {
      let title = `test ${s.async ? "exists" : "existsSync"}("testdata/${s.file}")`;
    Plain Text
    - Registered: 2021-09-14 21:37
    - Last Modified: 2020-11-20 17:01
    - 3.4K bytes
    - Viewed (0)
  10. std/fs/testdata/exists_sync.ts

    import { existsSync } from "../exists.ts";
    
    try {
      const isExist = existsSync(Deno.args[0]);
      Deno.stdout.write(new TextEncoder().encode(isExist ? "exist" : "not exist"));
    } catch (err) {
      Deno.stdout.write(new TextEncoder().encode(err.message));
    Plain Text
    - Registered: 2021-09-14 21:37
    - Last Modified: 2020-03-28 17:03
    - 252 bytes
    - Viewed (0)
Back to top