wala-rust

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit d4b456f26e2310f3f842e89451df23332e5e6361
parent f23ac0aba3e6caacf4541ca1ffb952a1c149c253
Author: lash <dev@holbrook.no>
Date:   Tue, 21 Jun 2022 15:26:34 +0000

Add immutable writer

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -230,7 +230,7 @@ fn main() { let f = req.as_reader(); match put_immutable(&path, f, expected_size) { Ok(v) => { - hash = hex::encode(v); + hash = hex::encode(v.digest); }, Err(e) => { exec_error(e, req);