mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-09 18:16:43 -07: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)
|
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),
|
_ => Ok(false),
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue