Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for files (0.2 sec)

  1. docs/images/blog/v7/files.png

    files.png...
    PNG Image
    - Registered: 2023-02-07 09:01
    - Last Modified: 2018-04-13 16:03
    - 10K bytes
    - Viewed (0)
  2. localstack/utils/files.py

            f.flush()
    
    
    def load_file(file_path, default=None, mode=None):
        if not os.path.isfile(file_path):
            return default
        if not mode:
            mode = "r"
        with open(file_path, mode) as f:
            result = f.read()
        return result
    
    
    def get_or_create_file(file_path, content=None, permissions=None):
        if os.path.exists(file_path):
            return load_file(file_path)
    Python
    - Registered: 2023-02-02 23:51
    - Last Modified: 2023-01-30 15:37
    - 8.8K bytes
    - Viewed (0)
  3. bin/common/src/metabuild_common/files.clj

               (FileUtils/deleteDirectory file)
               (.delete file))
             (out/safe-println (format "Deleted %s." filename)))
           (out/safe-println (format "Don't need to delete %s, file does not exist." filename)))
         (assert (not (file-exists? filename)))))
    
      ([file & more]
       (dorun (map delete-file-if-exists! (cons file more)))))
    
    (defn ^:deprecated delete-file!
    Others
    - Registered: 2023-02-03 12:00
    - Last Modified: 2022-12-29 15:07
    - 5.1K bytes
    - Viewed (0)
  4. docs/general/files.md

    A guide to the configuration files for this project: where they live and what
    they do.
    
    ## The root folder
    
    - `.editorconfig`: Sets the default configuration for certain files across editors. (e.g. indentation)
    
    - `.gitattributes`: Normalizes how `git`, the version control system this boilerplate uses, handles certain files.
    
    Plain Text
    - Registered: 2023-02-07 03:54
    - Last Modified: 2018-11-25 09:41
    - 1.4K bytes
    - Viewed (0)
  5. docs/content/en/variables/files.md

    For information on creating shortcodes and templates that tap into Hugo's file-related feature set, see [Local File Templates](/templates/files/).
    {{% /note %}}
    
    The `.File` object contains the following fields:
    
    .File.Path
    : the original relative path of the page, relative to the content dir (e.g., `posts/foo.en.md`)
    
    .File.LogicalName
    : the name of the content file that represents a page (e.g., `foo.en.md`)
    
    .File.TranslationBaseName
    Plain Text
    - Registered: 2023-02-03 10:01
    - Last Modified: 2022-11-17 15:16
    - 1.6K bytes
    - Viewed (0)
  6. docs/content/en/templates/files.md

    aliases: [/extras/localfiles/,/templates/local-files/]
    toc: true
    ---
    
    ## Traverse Local Files
    
    With Hugo's [`readDir`][readDir] and [`readFile`][readFile] template functions, you can traverse your website's files on your server.
    
    ## Use `readDir`
    
    Plain Text
    - Registered: 2023-02-03 10:01
    - Last Modified: 2022-11-17 15:16
    - 2.9K bytes
    - Viewed (0)
  7. addons/knobs/src/components/types/Files.tsx

      serialize: typeof serialize;
      deserialize: typeof deserialize;
    } = ({ knob, onChange }) => (
      <FileInput
        type="file"
        name={knob.name}
        multiple
        onChange={(e: ChangeEvent<HTMLInputElement>) => {
          if (e.target.files) {
            Promise.all(Array.from(e.target.files).map(fileReaderPromise)).then(onChange);
          }
        }}
        accept={knob.accept}
        size="flex"
      />
    );
    
    Plain Text
    - Registered: 2023-02-05 09:39
    - Last Modified: 2020-03-27 19:04
    - 1.7K bytes
    - Viewed (0)
  8. examples/files.json

    sunag <******@****.***> 1668416869 -0300
    Json
    - Registered: 2023-01-25 04:56
    - Last Modified: 2022-11-14 09:07
    - 11.7K bytes
    - Viewed (0)
  9. docs/_data/files.js

    };
    
    /**
     * Loads files from disk (see `FILES` above) to be shown as data.
     * Used for embedding sources directly into pages
     */
    module.exports = async () => {
      const files = [];
      for await (const {path, header, slug} of FILES) {
        const content = await loadFile(path, {header});
        files.push({slug, content});
      }
      return files.reduce(
        (files, {slug, content}) => ({
          ...files,
    JavaScript
    - Registered: 2023-02-06 12:38
    - Last Modified: 2020-08-18 18:49
    - 1.3K bytes
    - Viewed (0)
  10. packages/driver/src/cy/commands/files.ts

                    return
                  }
    
                  // file exists but it shouldn't - or - file doesn't exist but it should
                  const errPath = contents ? 'files.existent' : 'files.nonexistent'
                  const { message, docsUrl } = $errUtils.cypressErrByPath(errPath, {
                    args: { cmd: 'readFile', file, filePath },
                  })
    
                  err.message = message
    Plain Text
    - Registered: 2023-02-03 08:39
    - Last Modified: 2022-04-22 14:28
    - 6.5K bytes
    - Viewed (0)
Back to top