ZWVYH7WPYOGDKWODFSAJ6R5U64DON2AVVJ2XZJKHAOMLJEFTYF3QC
DO2Y5TY5JQISUHCVNPI2FXO7WWZVJQ3LGPWF4DNADMGZRIO6PT2QC
X6YFD4WVMUYJCR5IYPJH6UKYVWSA7DKBRVJ6XQFXHOE2TRYUTAHAC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
YN63NUZO4LVJ7XPMURDULTXBVJKW5MVCTZ24R7Z52QMHO3HPDUVQC
TKEVOH7HXON7SOBGXTUDHAHO2U2GPTQRNESP6ERKUQAS526OZIRAC
UDHP4ZVBQZT2VBURB2MDCU2IZDNMCAFSIUKWRBDQ5BWMFKSN2LYQC
if let CS::Change(h) = h {
libpijul::changestore::filesystem::push_filename(&mut change_path_, h);
if std::fs::metadata(&change_path_).is_err() {
hash_send.send(CS::Change(*h))?;
to_download.insert(CS::Change(*h));
match h {
CS::Change(h) => {
libpijul::changestore::filesystem::push_filename(&mut change_path_, h);
}
CS::State(h) => {
libpijul::changestore::filesystem::push_tag_filename(&mut change_path_, h);
if let CS::Change(c) = c {
libpijul::changestore::filesystem::push_filename(&mut self.changes_dir, &c);
libpijul::changestore::filesystem::push_filename(&mut path, &c);
super::PROGRESS.borrow_mut().unwrap()[pro_n].incr();
if std::fs::metadata(&path).is_ok() {
debug!("metadata {:?} ok", path);
libpijul::changestore::filesystem::pop_filename(&mut path);
continue;
match c {
CS::Change(c) => {
libpijul::changestore::filesystem::push_filename(&mut self.changes_dir, &c);
libpijul::changestore::filesystem::push_filename(&mut path, &c);
std::fs::create_dir_all(&path.parent().unwrap())?;
if std::fs::hard_link(&self.changes_dir, &path).is_err() {
std::fs::copy(&self.changes_dir, &path)?;
CS::State(c) => {
libpijul::changestore::filesystem::push_tag_filename(&mut self.changes_dir, &c);
libpijul::changestore::filesystem::push_tag_filename(&mut path, &c);