- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 3,968 for file3 (0.02 seconds)
-
tests/test_tutorial/test_request_files/test_tutorial001_02.py
path.write_bytes(b"<file content>") with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} def test_post_upload_file(tmp_path: Path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
// atFile option if (cliOptions.atFile().isPresent()) { Path file = context.cwd.resolve(cliOptions.atFile().orElseThrow()); if (Files.isRegularFile(file)) { result.add(parseMavenAtFileOptions(file)); } else { throw new IllegalArgumentException("Specified file does not exists (" + file + ")"); } } // maven.config; if existsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 14 12:35:44 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectsSelector.java
* @param files List of POM files. * @param request The {@link MavenExecutionRequest} * @return A list of projects that have been found in the specified POM files. * @throws ProjectBuildingException In case the POMs are not used. */ List<MavenProject> selectProjects(List<File> files, MavenExecutionRequest request) throws ProjectBuildingException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
* under the License. */ package org.apache.maven.model.building; import java.io.File; import java.net.URI; import java.nio.file.Files; import java.nio.file.Path; import org.apache.maven.building.FileSource; /** * Wraps an ordinary {@link File} as a model source. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.MODULES; import static eu.maveniverse.domtrip.maven.MavenPomElements.Files.POM_XML; /** * Discovers and loads Maven POM files in a Maven project hierarchy. * * <p>This class recursively discovers all POM files in a Maven project hierarchy * and loads them as domtrip Documents. Individual strategies can create domtrip Editors
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (0) -
tests/test_request_params/test_file/test_list.py
@app.post("/list-uploadfile-alias", operation_id="list_uploadfile_alias") async def read_list_uploadfile_alias( p: Annotated[list[UploadFile], File(alias="p_alias")], ): return {"file_size": [file.size for file in p]} @pytest.mark.parametrize( "path", [ "/list-bytes-alias", "/list-uploadfile-alias", ], ) def test_list_alias_schema(path: str):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 11.2K bytes - Click Count (0) -
src/archive/zip/example_test.go
{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling licence.\nWrite more examples."}, } for _, file := range files { f, err := w.Create(file.Name) if err != nil { log.Fatal(err) } _, err = f.Write([]byte(file.Body)) if err != nil { log.Fatal(err) } } // Make sure to check the error on Close. err := w.Close()Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K bytes - Click Count (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 18 10:36:40 GMT 2025 - 10.9K bytes - Click Count (0) -
doc/README.md
## For developers Release notes should be added to `next` by editing existing files or creating new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to the CL (or ask the author to do so). At the end of the development cycle, the files will be merged by being concatenated in sorted order by pathname. Files in the directory matching the glob "*stdlib/*minor" are treated specially. They should be in subdirectories
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jul 22 17:55:04 GMT 2024 - 3.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
return null; } /** * Interface for locating POM files within a project structure. * Implementations of this interface provide the ability to find POM files * in various project contexts. * * @since 4.0.0 */ interface ModelLocator { /** * Attempts to locate an existing POM file at or within the specified project path. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.4K bytes - Click Count (0)