Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readdirp (0.06 sec)

  1. cmd/xl-storage.go

    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return nil, err
    	}
    
    	dirPathAbs := pathJoin(volumeDir, dirPath)
    	if count > 0 {
    		entries, err = readDirN(dirPathAbs, count)
    	} else {
    		entries, err = readDir(dirPathAbs)
    	}
    	if err != nil {
    		if errors.Is(err, errFileNotFound) && !skipAccessChecks(volume) {
    			if ierr := Access(volumeDir); ierr != 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)
  2. cmd/data-scanner.go

    		}
    
    		if f.weSleep() {
    			scannerSleeper.Sleep(ctx, dataScannerSleepPerFolder)
    		}
    
    		var existingFolders, newFolders []cachedFolder
    		var foundObjects bool
    		err := readDirFn(pathJoin(f.root, folder.name), func(entName string, typ os.FileMode) error {
    			// Parse
    			entName = pathClean(pathJoin(folder.name, entName))
    			if entName == "" || entName == folder.name {
    				if f.dataUsageScannerDebug {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top