seaweed-volume: keep check_volume_collection's doc comment as on master

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-11-28 05:44:15 -08:00
1 parent d612df24db
commit 93e55d9b69
1 file changed
+2 -2
+2 -2
View File
@@ -7579,8 +7579,8 @@ fn check_volume_file_extension(ext: &str) -> Result<(), String> {
Ok(())
}
/// Mirrors Go's checkVolumeCollection: a client-supplied Collection that a
/// handler folds into a path component ("<collection>_<vid>").
/// Mirrors Go's checkVolumeCollection: the client-supplied Collection that
/// CopyFile and ReceiveFile fold into a path component ("<collection>_<vid>").
/// Collection names may hold '.' or '-', so this rejects only separators and
/// bare parent references.
fn check_volume_collection(collection: &str) -> Result<(), String> {