Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkFormatJSON (0.18 sec)

  1. cmd/xl-storage.go

    	if volume == "" || volume == "." || volume == ".." {
    		return "", errVolumeNotFound
    	}
    	volumeDir := pathJoin(s.drivePath, volume)
    	return volumeDir, nil
    }
    
    func (s *xlStorage) checkFormatJSON() (os.FileInfo, error) {
    	fi, err := Lstat(s.formatFile)
    	if err != nil {
    		// If the disk is still not initialized.
    		if osIsNotExist(err) {
    			if err = Access(s.drivePath); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top