Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for is_dir (0.09 sec)

  1. cmd/xl-storage.go

    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    		return nil, time.Time{}, &os.PathError{
    			Op:   "open",
    			Path: itemPath,
    			Err:  syscall.EISDIR,
    		}
    	}
    	buf, err := readXLMetaNoData(f, stat.Size())
    	if err != nil {
    		return nil, stat.ModTime().UTC(), fmt.Errorf("%w -> %s", err, itemPath)
    	}
    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. .teamcity/pom.xml

                    <version>${teamcity.dsl.version}</version>
                    <configuration>
                        <format>kotlin</format>
                        <dstDir>target/generated-configs</dstDir>
                        <contextParameters>
                            <Branch>${dslContextParameter.branch}</Branch>
                        </contextParameters>
                    </configuration>
                </plugin>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 31 02:38:07 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    			}
    			r = os.Stdin
    			readers = append(readers, local.ReaderSource{Name: f, Reader: r})
    			continue
    		}
    
    		fi, err := os.Stat(f)
    		if err != nil {
    			return nil, err
    		}
    
    		if fi.IsDir() {
    			dirReaders, err := gatherFilesInDirectory(cmd, f)
    			if err != nil {
    				return nil, err
    			}
    			readers = append(readers, dirReaders...)
    		} else {
    			if !isValidFile(f) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    		healEntry := func(bucket string, entry metaCacheEntry) {
    			defer jt.Give()
    
    			if entry.name == "" && len(entry.metadata) == 0 {
    				// ignore entries that don't have metadata.
    				return
    			}
    			if entry.isDir() {
    				// ignore healing entry.name's with `/` suffix.
    				return
    			}
    
    			// We might land at .metacache, .trash, .multipart
    			// no need to heal them skip, only when bucket
    			// is '.minio.sys'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    					custom := make(map[string]string)
    					defer stopFn(custom)
    
    					if f.dataUsageScannerDebug {
    						console.Debugf(healObjectsPrefix+" resolved to: %v, dir: %v\n", entry.name, entry.isDir())
    					}
    
    					if entry.isDir() {
    						return
    					}
    
    					// We got an entry which we should be able to heal.
    					fiv, err := entry.fileInfoVersions(bucket)
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (s []string, err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricListDir, volume, dirPath)
    	if err != nil {
    		return nil, err
    	}
    	defer done(0, &err)
    
    	return p.storage.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	object = decodeDirObject(object)
    	versionID := fi.VersionID
    	if versioned && versionID == "" {
    		versionID = nullVersionID
    	}
    
    	objInfo := ObjectInfo{
    		IsDir:            HasSuffix(object, SlashSeparator),
    		Bucket:           bucket,
    		Name:             object,
    		ParityBlocks:     fi.Erasure.ParityBlocks,
    		DataBlocks:       fi.Erasure.DataBlocks,
    		VersionID:        versionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    type CheckPartsResp struct {
    	Results []int `msg:"r"`
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string `msg:"i"`
    }
    
    // ListDirResult - ListDir()'s response.
    type ListDirResult struct {
    	Entries []string `msg:"e"`
    }
    
    // ReadPartsReq - send multiple part paths to read from
    type ReadPartsReq struct {
    	Paths []string `msg:"p"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    	if lc, err := globalLifecycleSys.Get(obj.Bucket); err == nil {
    		switch event := lc.Eval(obj.ToLifecycleOpts()); event.Action {
    		case lifecycle.TransitionAction, lifecycle.TransitionVersionAction:
    			if obj.DeleteMarker || obj.IsDir {
    				// nothing to transition
    				return
    			}
    			globalTransitionState.queueTransitionTask(obj, event, src)
    		}
    	}
    }
    
    // expireTransitionedObject handles expiry of transitioned/restored objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top