Files
gitea-rs/crates/gitea-client/docs/ChangeFileOperation.md
2026-03-20 16:24:40 +01:00

991 B

ChangeFileOperation

Properties

Name Type Description Notes
content Option<String> new or updated file content, it must be base64 encoded [optional]
from_path Option<String> old path of the file to move [optional]
operation Operation indicates what to do with the file: "create" for creating a new file, "update" for updating an existing file, "upload" for creating or updating a file, "rename" for renaming a file, and "delete" for deleting an existing file. (enum: create, update, upload, rename, delete)
path String path to the existing or new file
sha Option<String> the blob ID (SHA) for the file that already exists, required for changing existing files [optional]

[Back to Model list] [Back to API list] [Back to README]