- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for file_contents (0.07 seconds)
-
tests/test_file_and_form_order_issue_9116.py
city: Annotated[str, Form()], ): return {"file_contents": files, "city": city} @app.post("/file_list_after_form") def file_list_after_form( city: Annotated[str, Form()], files: Annotated[list[bytes], File()], ): return {"file_contents": files, "city": city} client = TestClient(app) @pytest.fixture def tmp_file_1(tmp_path: Path) -> Path: f = tmp_path / "example1.txt"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
/** * Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): Provider<String> = providers.fileContents(repoRoot().file(path)).asText.map { it.trim() } // TODO Simplify the buildTimestamp() calculation if possible fun Project.buildTimestamp(): Provider<String> = providers.of(BuildTimestampValueSource::class) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:46:35 GMT 2026 - 5.8K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/MissingJavadocTypeCheck.java
import com.puppycrawl.tools.checkstyle.StatelessCheck; import com.puppycrawl.tools.checkstyle.api.AbstractCheck; import com.puppycrawl.tools.checkstyle.api.DetailAST; import com.puppycrawl.tools.checkstyle.api.FileContents; import com.puppycrawl.tools.checkstyle.api.Scope; import com.puppycrawl.tools.checkstyle.api.TextBlock; import com.puppycrawl.tools.checkstyle.api.TokenTypes; import com.puppycrawl.tools.checkstyle.utils.AnnotationUtil;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 10 23:06:44 GMT 2021 - 5.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile()); task.getMilestone().convention(project.getProviders().fileContents(project.getIsolated().getRootProject().getProjectDirectory().file("version.txt")).getAsText().map(String::trim)); });
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
} @Test void testUpload_ok() { // Create a test file content String fileContent = "Test file content for storage upload"; // Upload file Response response = given().header("Authorization", getTestToken()) .multiPart("file", NAME_PREFIX + "test.txt", fileContent.getBytes()) .when() .put(getApiPath() + "/upload/");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
cmd/sts-handlers_test.go
} return nil } for _, f := range iamExportFiles { iamFile := pathJoin(iamAssetsDir, f) fileContent, ok := exportContent[f] if !ok { t.Fatalf("missing content for %s", f) } if err := rawDataFn(bytes.NewReader(fileContent), iamFile, len(fileContent)); err != nil { t.Fatalf("failed to write %s: %v", iamFile, err) } } zipWriter.Close()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1)