mirror of
https://github.com/chatmail/core.git
synced 2026-04-25 01:16:29 +03:00
fixup doc links
This commit is contained in:
@@ -242,8 +242,9 @@ impl<'a> BlobObject<'a> {
|
||||
/// including the dot. E.g. "foo.txt" is returned as `("foo",
|
||||
/// ".txt")` while "bar" is returned as `("bar", "")`.
|
||||
///
|
||||
/// The extension part will always be lowercased. Note that [`imex::transfer`] relies
|
||||
/// on this for safety, if uppercase extensions are ever allowed it needs to be adapted.
|
||||
/// The extension part will always be lowercased. Note that [`crate::imex::get_backup`]
|
||||
/// relies on this for safety, if uppercase extensions are ever allowed it needs to be
|
||||
/// adapted.
|
||||
fn sanitise_name(name: &str) -> (String, String) {
|
||||
let mut name = name.to_string();
|
||||
for part in name.rsplit('/') {
|
||||
|
||||
Reference in New Issue
Block a user