Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkFormatJSON (0.25 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 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