Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readDirFn (0.06 sec)

  1. cmd/xl-storage.go

    	if !isXL2V1Format(buf) {
    		return nil
    	}
    	var xl xlMetaV2
    	err = xl.LoadOrConvert(buf)
    	if err != nil {
    		return err
    	}
    	foundDirs := make(map[string]struct{}, len(xl.versions))
    	err = readDirFn(baseDir, func(name string, typ os.FileMode) error {
    		if !typ.IsDir() {
    			return nil
    		}
    		// See if directory has a UUID name.
    		base := filepath.Base(name)
    		_, err := uuid.Parse(base)
    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