Upload a change file by reading directly from disk. This is a convenience wrapper around [`upload_change_streamed`](Self::upload_change_streamed) that streams the file from disk instead of loading it entirely into memory. Suitable for change files of any size. # Arguments `hash` - The base32-encoded hash of the change. `view` - The target view name. `path` - Path to the `.change` file on disk.
(
&self,
hash: &str,
view: &str,
path: &Path,
)
| 381 | /// Returns an error if the file can't be read, the upload fails, or |
| 382 | /// the server rejects the change. |
| 383 | pub async fn upload_change_file( |
| 384 | &self, |
| 385 | hash: &str, |
| 386 | view: &str, |
| 387 | path: &Path, |
| 388 | ) -> RemoteResult<()> { |
| 389 | self.upload_change_streamed(hash, view, path).await |
| 390 | } |
| 391 | } |
nothing calls this directly
no test coverage detected