diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-09 17:50:08 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-12-09 17:50:08 +0100 |
commit | 0877a7cbd85fe55d1784dd1fe491f6491a1c5445 (patch) | |
tree | e5b49cc61d4855742d86789afa2ad910f575a43b /src/source | |
parent | ec54e096a857fec587b88a6a55ffd1d6cd82d82f (diff) |
Add some more trace output
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/source')
-rw-r--r-- | src/source/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/source/mod.rs b/src/source/mod.rs index cf96f33..81bf34d 100644 --- a/src/source/mod.rs +++ b/src/source/mod.rs @@ -84,6 +84,8 @@ impl SourceEntry { use tokio::io::AsyncReadExt; let p = self.source_file_path(); + + trace!("Reading to buffer: {}", p.display()); let mut buf = vec![]; tokio::fs::OpenOptions::new() .create(false) @@ -94,6 +96,7 @@ impl SourceEntry { .read_to_end(&mut buf) .await?; + trace!("Reading to buffer finished: {}", p.display()); self.package_source .hash() .matches_hash_of(&buf) |