Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isValidVolname (0.2 sec)

  1. cmd/xl-storage.go

    )
    
    var alignedBuf []byte
    
    func init() {
    	alignedBuf = disk.AlignedBlock(xioutil.DirectioAlignSize)
    	_, _ = rand.Read(alignedBuf)
    }
    
    // isValidVolname verifies a volname name in accordance with object
    // layer requirements.
    func isValidVolname(volname string) bool {
    	if len(volname) < 3 {
    		return false
    	}
    
    	if runtime.GOOS == "windows" {
    		// Volname shouldn't have reserved characters in Windows.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
Back to top