mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-01-18 03:32:30 -08:00
remove old renaming event
This commit is contained in:
parent
cd995ccba8
commit
f30d801ced
1 changed files with 0 additions and 12 deletions
|
@ -200,18 +200,6 @@ impl Site {
|
|||
Ok(true)
|
||||
}
|
||||
}
|
||||
// EventKind::(old, new) => {
|
||||
// if skip_path(&builder, &old) && skip_path(&builder, &new) {
|
||||
// Ok(false)
|
||||
// } else {
|
||||
// let old_rel = rel(&old, &builder.site.site_path)?;
|
||||
// let new_rel = rel(&new, &builder.site.site_path)?;
|
||||
// println!("RENAMED - {:?} -> {:?}", old_rel, new_rel);
|
||||
// create(&mut builder, &new, &new_rel, false)?;
|
||||
// remove(&mut builder, &old, &old_rel)?;
|
||||
// Ok(true)
|
||||
// }
|
||||
// }
|
||||
_ => Ok(false),
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Reference in a new issue