Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,221 for fileOps (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

    import javax.inject.Inject;
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    import static org.elasticsearch.gradle.util.GradleUtils.getProjectPathFromTask;
    
    /**
     * Copies the files needed for the Rest YAML specs to the current projects test resources output directory.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                            }
    
                            file.isBuildReceipt() -> {
                                Files.copy(file, buildReceipt)
                            }
    
                            file.isUnseenManifestFilePath() -> {
                                seenManifest = true
                                Files.copy(file, manifest)
                            }
                        }
                        return FileVisitResult.CONTINUE
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. 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
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            String result;
            ModelSource src = sourcePathProvider.get();
            if (src == null) {
                Files.deleteIfExists(target);
                result = null;
            } else if (!Files.exists(src.getPath())) {
                Files.deleteIfExists(target);
                result = "";
            } else {
                String current = ChecksumAlgorithmHelper.calculate(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

    import java.io.IOException;
    import java.io.PrintWriter;
    import java.nio.file.Files;
    import java.nio.file.StandardOpenOption;
    import java.util.Collection;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.StreamSupport;
    
    /**
     * Incremental task to validate a set of JSON files against against a schema.
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

     * with this task. It will add {@code .sha1} files for new jars that are in dependencies
     * and remove old {@code .sha1} files that are no longer needed.
     * <p>
     * Every jar must also have a LICENSE and NOTICE file. However, multiple jars can share
     * LICENSE and NOTICE files by mapping a pattern to the same name.
     * <pre>
     *   dependencyLicenses {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  7. 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]}
    
    
    # =====================================================================================
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. ADDING_NEW_LANGUAGE.md

    ### Auto-Generated Files
    
    Never edit these files manually (marked with `@author FreeGen`):
    - `FessLabels.java`
    - `FessMessages.java`
    
    Always regenerate them using `mvn dbflute:freegen`
    
    ## Complete Example: Adding Swedish (sv)
    
    ```bash
    # 1. Navigate to resources directory
    cd src/main/resources
    
    # 2. Copy base files
    cp fess_label_en.properties fess_label_sv.properties
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  9. .github/workflows/pylint-presubmit.yml

          id: get_file_changes
          uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b # v1.2.4
          with:
            output: ' '
        - name: Report list of changed files
          run: |
            echo Changed files: ${{ steps.get_file_changes.outputs.files }}
        - name: Set up Python 3.9
          uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
          with:
            python-version: "3.9"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  10. docs/ru/docs/how-to/custom-docs-ui-assets.md

        └── swagger-ui.css
    ```
    
    ### Предоставьте доступ к статическим файлам { #serve-the-static-files }
    
    * Импортируйте `StaticFiles`.
    * Смонтируйте экземпляр `StaticFiles()` в определённый путь.
    
    {* ../../docs_src/custom_docs_ui/tutorial002_py310.py hl[7,11] *}
    
    ### Протестируйте статические файлы { #test-the-static-files }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.6K bytes
    - Click Count (0)
Back to Top