ZHABNS3S6FSINO74FOI5KHYXYDTBPO4FQTTYTUS7NNKEVVNLYC4AC
GBLM3JLRCNEZLICNLV6M26YCZ4EYDG2F5BJOBH4FIBOM4W473LYAC
OJZWJUF2TCGZ7RFVY6FPKBS5P3C4BGHZDPVH775OHVNVFMJICKNQC
L4JXJHWXYNCL4QGJXNKKTOKKTAXKKXBJUUY7HFZGEUZ5A2V5H34QC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
VO5OQW4W2656DIYYRNZ3PO7TQ4JOKQ3GVWE5ALUTYVMX3WMXJOYQC
R3H7D42UZ446V5TO2574BMAQQAYYJPEIMSZVDPAGVIYU2COJSWBAC
4OCC6D42GZYRDLH3NSKXMJTRKXP7UZ6Z3YNGCNUT7NT6WBDBCBIAC
2K7JLB4Z7BS5VFNWD4DO3MKYU7VNPA5MTVHVSDI3FQZ5ICM6XM6QC
OUWD436ATBTZJR53B6XDSI5SXRRNZV7YGRUEA5ACHZC2RUDP7G5QC
if let Ok((full, prefix)) = get_prefix(Some(&repo.path), path) {
repo.working_copy
.add_prefix_rec(&mut txn, &repo.path, &full, &prefix, threads)?
if let Ok((full, prefix)) = get_prefix(Some(repo_path.as_ref()), path) {
repo.working_copy.add_prefix_rec(
&mut txn,
repo_path.clone(),
full.clone(),
&prefix,
threads,
)?
debug!("entry path = {:?} {:?}", entry.path(), repo_path_);
if let Ok(path) = entry.path().strip_prefix(&repo_path_) {
let is_dir = entry.file_type().unwrap().is_dir();
sender.send((path.to_path_buf(), is_dir)).unwrap();
} else {
debug!("entry = {:?}", entry.path());
debug!("entry path = {:?} {:?}", entry.path(), repo_path);
if let Ok(entry_path) = CanonicalPathBuf::canonicalize(entry.path()) {
if let Ok(path) = entry_path.as_path().strip_prefix(&repo_path) {
let is_dir = entry.file_type().unwrap().is_dir();
sender.send((path.to_path_buf(), is_dir)).unwrap();
} else {
debug!("entry = {:?}", entry.path());
}
if let Ok((full, prefix)) = get_prefix(Some(&repo_path), prefix) {
self.add_prefix_rec(txn, repo_path, &full, &prefix, threads)?;
if let Ok((full, prefix)) = get_prefix(Some(repo_path.as_ref()), prefix) {
self.add_prefix_rec(txn, repo_path, full, &prefix, threads)?;