pub fn append_timestamp(path: &Utf8Path, ts: &str) -> Utf8PathBufExpand description
Append a timestamp before the extension.
foo/bar.yml + ts → foo/bar_<ts>.yml
foo/bar + ts → foo/bar_<ts>
foo/.gitconfig + ts → foo/.gitconfig_<ts> (treat dotfiles as stem-only)