summaryrefslogtreecommitdiff
path: root/src/client.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-12 10:44:50 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-12 11:58:12 +0200
commit146a5fe13cba442afca954733bafd854f4448928 (patch)
tree1ae24923cc950aedb77772f167045656c2f9249a /src/client.rs
parent57b85f1d11c8972cd056a339c29e28ab3b91137c (diff)
downloadobnam2-146a5fe13cba442afca954733bafd854f4448928.tar.gz
feat: back up and restore symlinks
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.rs b/src/client.rs
index 658e3ed..745169b 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -59,9 +59,11 @@ impl BackupClient {
e: FilesystemEntry,
size: usize,
) -> anyhow::Result<(FilesystemEntry, Vec<ChunkId>)> {
+ debug!("entry: {:?}", e);
let ids = match e.kind() {
FilesystemKind::Regular => self.read_file(e.path(), size)?,
FilesystemKind::Directory => vec![],
+ FilesystemKind::Symlink => vec![],
};
Ok((e, ids))
}