Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for listdir (0.05 sec)

  1. cmd/xl-storage_test.go

    		t.Errorf("Expected to fail with \"%s\", but instead failed with \"%s\"", errDiskNotFound, err)
    	}
    }
    
    // TestXLStorageListDir -  TestXLStorages validate the directory listing functionality provided by xlStorage.ListDir .
    func TestXLStorageListDir(t *testing.T) {
    	// create xlStorage test setup
    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		case isSysErrIO(err):
    			return errFaultyDisk
    		default:
    			return err
    		}
    	}
    	return nil
    }
    
    // ListDir - return all the entries at the given directory path.
    // If an entry is a directory it will be returned with a trailing SlashSeparator.
    func (s *xlStorage) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) {
    	if contextCanceled(ctx) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    	}
    
    	erasureDisks := er.getDisks()
    	uploadIDPath := er.getUploadIDDir(bucketNames[0], objectNames[0], uploadIDs[0])
    	dataDirs, err := erasureDisks[0].ListDir(context.Background(), minioMetaMultipartBucket, minioMetaMultipartBucket, uploadIDPath, -1)
    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	var dataDir string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. .teamcity/.mvn/wrapper/maven-wrapper.jar

    DEFAULT_DISTRIBUTION_PATH = wrapper/dists; private final Downloader download; private final PathAssembler pathAssembler; public void Installer(Downloader, PathAssembler); public java.io.File createDist(WrapperConfiguration) throws Exception; private java.util.List listDirs(java.io.File); private void setExecutablePermiss(java.io.File); private boolean isWindows(); private boolean deleteDir(java.io.File); public void unzip(java.io.File, java.io.File) throws java.io.IOException; public void copyInputStream(java.io.InputStream,...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  5. common/scripts/metallb-native.yaml

    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: RoleBinding
    metadata:
      labels:
        app: metallb
      name: pod-lister
      namespace: metallb-system
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: pod-lister
    subjects:
    - kind: ServiceAccount
      name: speaker
      namespace: metallb-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  6. .bazelrc

    build:windows --enable_runfiles
    
    # Default paths for TF_SYSTEM_LIBS
    build:linux --define=PREFIX=/usr
    build:linux --define=LIBDIR=$(PREFIX)/lib
    build:linux --define=INCLUDEDIR=$(PREFIX)/include
    build:linux --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include
    build:macos --define=PREFIX=/usr
    build:macos --define=LIBDIR=$(PREFIX)/lib
    build:macos --define=INCLUDEDIR=$(PREFIX)/include
    build:macos --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "ActualSize")
    					return
    				}
    			}
    		case "IsDir":
    			z.IsDir, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "IsDir")
    				return
    			}
    		case "ETag":
    			z.ETag, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ETag")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  8. 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)
  9. cmd/admin-handlers-users.go

    	rawDataFn := func(r io.Reader, filename string, sz int) error {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    				size:    int64(sz),
    				mode:    0o600,
    				modTime: time.Now(),
    				isDir:   false,
    				sys:     nil,
    			})
    			if zerr != nil {
    				adminLogIf(ctx, zerr)
    				return nil
    			}
    			header.Method = zip.Deflate
    			zwriter, zerr := zipWriter.CreateHeader(header)
    			if zerr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top