pub async fn replace_file( __arg0: State<Shared>, headers: HeaderMap, __arg2: Path<String>, body: Body, ) -> Result<Json<Value>, Error>
Replace a file’s bytes; the old version is kept.