Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 753 for fileset (0.06 sec)

  1. scripts/mkdocs_hooks.py

                    resolve_file(item=values[0], files=files, config=config)
                elif isinstance(values[0], list):
                    resolve_files(items=values[0], files=files, config=config)
                else:
                    raise ValueError(f"Unexpected value: {values}")
    
    
    def on_files(files: Files, *, config: MkDocsConfig) -> Files:
        resolve_files(items=config.nav or [], files=files, config=config)
        if "logo" in config.theme:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

    /**
     * Represents a source for loading Maven Project Object Model (POM) files. This interface
     * extends the basic {@link Source} interface with specific functionality for handling
     * Maven POM files and resolving related project POMs.
     *
     * <p>The interface provides two types of sources:</p>
     * <ul>
     *   <li>Build sources: Used for POM files of projects being built by Maven in the filesystem.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. .pre-commit-config.yaml

            name: update languages
            entry: uv run ./scripts/docs.py update-languages
            files: ^docs/.*|scripts/docs\.py$
            pass_filenames: false
    
          - id: ensure-non-translated
            language: unsupported
            name: ensure non-translated files are not modified
            entry: uv run ./scripts/docs.py ensure-non-translated
            files: ^docs/(?!en/).*|^scripts/docs\.py$
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 11:36:58 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  4. docs/debugging/xl-meta/main.go

    			args = []string{"xl.meta"}
    		}
    		var files []string
    
    		for _, pattern := range args {
    			if pattern == "-" {
    				files = append(files, pattern)
    				continue
    			}
    			found, err := filepathx.Glob(pattern)
    			if err != nil {
    				return err
    			}
    			if len(found) == 0 {
    				return fmt.Errorf("unable to find file %v", pattern)
    			}
    			files = append(files, found...)
    		}
    		if len(files) == 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  5. tests/test_request_params/test_file/test_optional.py

    @pytest.mark.parametrize(
        "path",
        [
            "/optional-bytes",
            "/optional-uploadfile",
        ],
    )
    def test_optional(path: str):
        client = TestClient(app)
        response = client.post(path, files=[("p", b"hello")])
        assert response.status_code == 200
        assert response.json() == {"file_size": 5}
    
    
    # =====================================================================================
    # Alias
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. docs/en/docs/reference/staticfiles.md

    # Static Files - `StaticFiles`
    
    You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc.
    
    Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/).
    
    You can import it directly from `fastapi.staticfiles`:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 391 bytes
    - Viewed (0)
  7. tests/test_request_params/test_file/test_optional_list.py

    @pytest.mark.parametrize(
        "path",
        [
            "/optional-list-bytes",
            "/optional-list-uploadfile",
        ],
    )
    def test_optional_list(path: str):
        client = TestClient(app)
        response = client.post(path, files=[("p", b"hello"), ("p", b"world")])
        assert response.status_code == 200
        assert response.json() == {"file_size": [5, 5]}
    
    
    # =====================================================================================
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. tests/test_request_params/test_file/test_list.py

    
    @pytest.mark.parametrize(
        "path",
        [
            "/list-bytes",
            "/list-uploadfile",
        ],
    )
    def test_list(path: str):
        client = TestClient(app)
        response = client.post(path, files=[("p", b"hello"), ("p", b"world")])
        assert response.status_code == 200
        assert response.json() == {"file_size": [5, 5]}
    
    
    # =====================================================================================
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        }
    
        protected abstract void merge(Metadata recessive);
    
        static Metadata read(Path metadataPath) throws RepositoryException {
            if (!Files.exists(metadataPath)) {
                return new Metadata();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new Metadata(new MetadataStaxReader().read(input, false));
            } catch (IOException | XMLStreamException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

            Path bin = installDir.resolve("bin"); // NOI18N
            if (Files.isDirectory(bin)) {
                if (Os.IS_WINDOWS) {
                    Path tool = bin.resolve(toolName + ".exe");
                    if (Files.exists(tool)) {
                        return tool;
                    }
                }
                Path tool = bin.resolve(toolName);
                if (Files.exists(tool)) {
                    return tool;
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top