mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 02:57:37 +01:00
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:
1 parent
d612df24db
commit
93e55d9b69
1 file changed
+2
-2
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user