Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for is_dir (0.21 sec)

  1. cmd/erasure-server-pool.go

    	loi.IsTruncated = err == nil && len(objects) > 0
    	if maxKeys > 0 && len(objects) > maxKeys {
    		objects = objects[:maxKeys]
    		loi.IsTruncated = true
    	}
    	for _, obj := range objects {
    		if obj.IsDir && obj.ModTime.IsZero() && delimiter != "" {
    			// Only add each once.
    			// With slash delimiter we only get the directory once.
    			found := false
    			if delimiter != slashSeparator {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/metacache-stream_test.go

    	}
    	want := loadMetacacheSampleNames
    	var noDirs []string
    	for i, entry := range entries.entries() {
    		if entry.name != want[i] {
    			t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name)
    		}
    		if !entry.isDir() {
    			noDirs = append(noDirs, entry.name)
    		}
    	}
    	if entries.len() != len(want) {
    		t.Fatal("unexpected length:", entries.len(), "want:", len(want))
    	}
    
    	want = noDirs
    	r = loadMetacacheSample(t)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. .teamcity/.mvn/wrapper/maven-wrapper.jar

    java.io.File mavenUserHome(); } org/apache/maven/wrapper/PathAssembler$LocalDistribution.class package org.apache.maven.wrapper; public synchronized class PathAssembler$LocalDistribution { private final java.io.File distZip; private final java.io.File distDir; public void PathAssembler$LocalDistribution(PathAssembler, java.io.File, java.io.File); public java.io.File getDistributionDir(); public java.io.File getZipFile(); } org/apache/maven/wrapper/PathAssembler.class package org.apache.maven.wrapper; public...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    		}
    
    		if entryInfo.Mode() != hdr.FileInfo().Mode() {
    			t.Errorf("%s: test fs has mode %v; archive header has %v",
    				name, entryInfo.Mode(), hdr.FileInfo().Mode())
    		}
    
    		if entryInfo.IsDir() {
    			continue
    		}
    
    		data, err := io.ReadAll(tr)
    		if err != nil {
    			t.Fatal(err)
    		}
    		origdata := fsys[name].Data
    		if string(data) != string(origdata) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    			disks = er.getOnlineDisks()
    		}
    	}
    
    	for _, disk = range disks {
    		if disk == nil {
    			continue
    		}
    		if !disk.IsOnline() {
    			continue
    		}
    		uploadIDs, err = disk.ListDir(ctx, bucket, minioMetaMultipartBucket, er.getMultipartSHADir(bucket, object), -1)
    		if err != nil {
    			if errors.Is(err, errDiskNotFound) {
    				continue
    			}
    			if errors.Is(err, errFileNotFound) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K 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. docs/tr/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check | "Ek bilgi"
    
    Dikkatinizi çekerim ki, fonksiyonunuzun aldığı (ve döndürdüğü) değer olan `3` bir string `"3"` değil aksine bir Python `int`'idir.
    
    Bu tanımlamayla birlikte, **FastAPI** size otomatik istek <abbr title="HTTP isteği ile birlikte gelen string'i Python verisine dönüştürme">"ayrıştırma"</abbr> özelliği sağlar.
    
    ///
    
    ## Veri Doğrulama
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(buf), int64(len(buf)), "", ""), opts)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, disk := range xl.getDisks() {
    		files, _ := disk.ListDir(ctx, "", bucket, object, -1)
    		for _, file := range files {
    			if file != "xl.meta" {
    				disk.Delete(ctx, bucket, pathJoin(object, file), DeleteOptions{
    					Recursive: true,
    					Immediate: false,
    				})
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top