Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertAccessError (0.13 sec)

  1. cmd/xl-storage.go

    	if !skipAccessChecks(srcVolume) {
    		// Stat a volume entry.
    		if err = Access(srcVolumeDir); err != nil {
    			return res, convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	if !skipAccessChecks(dstVolume) {
    		if err = Access(dstVolumeDir); err != nil {
    			return res, convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	srcFilePath := pathutil.Join(srcVolumeDir, pathJoin(srcPath, xlStorageFormatFile))
    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/metacache-walk.go

    	volumeDir, err := s.getVolDir(opts.Bucket)
    	if err != nil {
    		return err
    	}
    
    	if !skipAccessChecks(opts.Bucket) {
    		// Stat a volume entry.
    		if err = Access(volumeDir); err != nil {
    			return convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	// Use a small block size to start sending quickly
    	w := newMetacacheWriter(wr, 16<<10)
    	w.reuseBlocks = true // We are not sharing results, so reuse buffers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top