- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for myFile (0.21 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_tasks.adoc
@Input val fileName = "myfile.txt" @OutputFile val myFile: File = File(fileName) @TaskAction fun action() { myFile.createNewFile() myFile.writeText(fileText) } } tasks.register<CreateFileTask>("createFileTask") { group = "custom" description = "Create myfile.txt in the current directory" } ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 18:33:11 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_plugins.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 00:36:58 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeWithUnmanagedPropertiesIntegrationTest.groovy
String value } class MyFile extends File { MyFile(String s) { super(s) } } @Managed interface ManagedThing { @Unmanaged UnmanagedThing getUnmanaged() void setUnmanaged(UnmanagedThing unmanaged) @Unmanaged MyFile getFile() void setFile(MyFile file)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-files.md
* `seek(offset)`:移动至文件 `offset` (`int`)字节处的位置; * 例如,`await myfile.seek(0) ` 移动到文件开头; * 执行 `await myfile.read()` 后,需再次读取已读取内容时,这种方法特别好用; * `close()`:关闭文件。 因为上述方法都是 `async` 方法,要搭配「await」使用。 例如,在 `async` *路径操作函数* 内,要用以下方式读取文件内容: ```Python contents = await myfile.read() ``` 在普通 `def` *路径操作函数* 内,则可以直接访问 `UploadFile.file`,例如: ```Python contents = myfile.file.read() ``` !!! note "`async` 技术细节"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/em/docs/tutorial/request-files.md
* `seek(offset)`: 🚶 🔢 🧘 `offset` (`int`) 📁. * 🤶 Ⓜ., `await myfile.seek(0)` 🔜 🚶 ▶️ 📁. * 👉 ✴️ ⚠ 🚥 👆 🏃 `await myfile.read()` 🕐 & ⤴️ 💪 ✍ 🎚 🔄. * `close()`: 🔐 📁. 🌐 👫 👩🔬 `async` 👩🔬, 👆 💪 "⌛" 👫. 🖼, 🔘 `async` *➡ 🛠️ 🔢* 👆 💪 🤚 🎚 ⏮️: ```Python contents = await myfile.read() ``` 🚥 👆 🔘 😐 `def` *➡ 🛠️ 🔢*, 👆 💪 🔐 `UploadFile.file` 🔗, 🖼: ```Python
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 6.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
"manifests/kube-apiserver.yaml", "pki/ca.pem", kubeadmconstants.AdminKubeConfigFileName, kubeadmconstants.KubeletKubeConfigFileName, ".mydir/.myfile", }, verifyExists: []string{ "manifests", "pki", ".mydir", ".mydir/.myfile", }, }, "no-op reset": { verifyNotExists: []string{ "pki", "manifests", }, }, "not a directory": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
Let's say you have a *path operation* with a path `/files/{file_path}`. But you need `file_path` itself to contain a *path*, like `home/johndoe/myfile.txt`. So, the URL for that file would be something like: `/files/home/johndoe/myfile.txt`. ### OpenAPI support
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params.md
Digamos que tienes una *operación de path* con un path `/files/{file_path}`. Pero necesitas que el mismo `file_path` contenga un path como `home/johndoe/myfile.txt`. Entonces, la URL para ese archivo sería algo como: `/files/home/johndoe/myfile.txt`. ### Soporte de OpenAPI
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 9.4K bytes - Viewed (0) -
docs/tr/docs/tutorial/path-params.md
## Yol İçeren Yol Parametreleri Farz edelim ki elinizde `/files/{file_path}` isminde bir *yol operasyonu* var. Fakat `file_path` değerinin `home/johndoe/myfile.txt` gibi bir *yol* barındırmasını istiyorsunuz. Sonuç olarak, oluşturmak istediğin URL `/files/home/johndoe/myfile.txt` gibi bir şey olacaktır. ### OpenAPI Desteği
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/request-files.md
* `read(size)`: Прочитать количество `size` (`int`) байт/символов из файла. * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле. * Наример, `await myfile.seek(0)` перейдет к началу файла. * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз. * `close()`: Закрыть файл.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 15.4K bytes - Viewed (0)