Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,063 for files (0.05 sec)

  1. guava/src/com/google/common/io/Files.java

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-15 16:12
    - 33.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

      public static boolean equal(File file1, File file2) throws IOException {
        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-15 16:12
    - 33.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kubeletconfig/util/files/files.go

    			}
    		}
    	}()
    	// write data
    	for name, data := range files {
    		// create the file
    		file, err := fs.Create(filepath.Join(tmpPath, name))
    		if err != nil {
    			return tmpPath, err
    		}
    		// be sure to close the file when we're done
    		defer func() {
    			// close the file when we're done, don't overwrite primary retErr if close fails
    			if err := file.Close(); retErr == nil {
    				retErr = err
    			}
    		}()
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-04-13 01:02
    - 7.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-01-11 19:56
    - 1.6K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/static-files.md

    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "기술적 세부사항"
        `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
        **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다.
    
    ### "마운팅" 이란
    
    "마운팅"은 특정 경로에 완전히 "독립적인" 애플리케이션을 추가하는 것을 의미하는데, 그 후 모든 하위 경로에 대해서도 적용됩니다.
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-01-22 19:42
    - 2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/request-files.md

    # Request Files
    
    You can define files to be uploaded by the client using `File`.
    
    !!! info
        To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
        This is because uploaded files are sent as "form data".
    
    ## Import `File`
    
    Import `File` and `UploadFile` from `fastapi`:
    
    === "Python 3.9+"
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-03-13 19:02
    - 10.2K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/request-files.md

    👆 💪 🔬 📁 📂 👩‍💻 ⚙️ `File`.
    
    !!! info
        📨 📂 📁, 🥇 ❎ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        🤶 Ⓜ. `pip install python-multipart`.
    
        👉 ↩️ 📂 📁 📨 "📨 💽".
    
    ## 🗄 `File`
    
    🗄 `File` &amp; `UploadFile` ⚪️➡️ `fastapi`:
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_files/tutorial001.py!}
    ```
    
    ## 🔬 `File` 🔢
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-03-13 19:02
    - 6.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/request-files.md

    Mit `File` können sie vom Client hochzuladende Dateien definieren.
    
    !!! info
        Um hochgeladene Dateien zu empfangen, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>.
    
        Z. B. `pip install python-multipart`.
    
        Das, weil hochgeladene Dateien als „Formulardaten“ gesendet werden.
    
    ## `File` importieren
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2024-03-30 17:58
    - 11.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/static-files.md

    ## Mais informações
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2023-02-07 13:09
    - 1.7K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/static-files.md

    `name="static"` 提供了一个能被**FastAPI**内部使用的名字。
    
    所有这些参数可以不同于"`static`",根据你应用的需要和具体细节调整它们。
    
    ## 更多信息
    
    Registered: 2024-06-17 08:32
    - Last Modified: 2023-06-03 12:49
    - 1.4K bytes
    - Viewed (0)
Back to top