Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSysErrTooLong (0.05 sec)

  1. cmd/xl-storage-errors.go

    func isSysErrNotDir(err error) bool {
    	return errors.Is(err, syscall.ENOTDIR)
    }
    
    // Check if the given error corresponds to the ENAMETOOLONG (name too long).
    func isSysErrTooLong(err error) bool {
    	return errors.Is(err, syscall.ENAMETOOLONG)
    }
    
    // Check if the given error corresponds to the ELOOP (too many symlinks).
    func isSysErrTooManySymlinks(err error) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			} else {
    				rootDrive, err = disk.IsRootDisk(drivePath, SlashSeparator)
    			}
    		}
    	}
    
    	switch {
    	case osIsNotExist(err):
    		err = errDiskNotFound
    	case isSysErrTooLong(err):
    		err = errFileNameTooLong
    	case isSysErrIO(err):
    		err = errFaultyDisk
    	}
    
    	return
    }
    
    // Implements stringer compatible interface.
    func (s *xlStorage) String() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top