Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 359 for dotpath (0.33 sec)

  1. cmd/xl-storage-disk-id-check.go

    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameFile, srcVolume, srcPath, dstVolume, dstPath)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.RenameFile(ctx, srcVolume, srcPath, dstVolume, dstPath) })
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. pkg/volume/local/local_test.go

    	}
    	expectedPodPath := filepath.Join(tmpDir, testPodPath)
    	podPath, volName := mapper.GetPodDeviceMapPath()
    	if podPath != expectedPodPath {
    		t.Errorf("Got unexpected pod path: %s, expected %s", podPath, expectedPodPath)
    	}
    	if volName != testPVName {
    		t.Errorf("Got unexpected volNamne: %s, expected %s", volName, testPVName)
    	}
    	var devPath string
    
    	if customMapper, ok := mapper.(volume.CustomBlockVolumeMapper); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. pkg/volume/util/volumepathhandler/volume_path_handler.go

    func (v VolumePathHandler) GetDeviceBindMountRefs(devPath string, mapPath string) ([]string, error) {
    	var refs []string
    	files, err := os.ReadDir(mapPath)
    	if err != nil {
    		return nil, err
    	}
    	for _, file := range files {
    		if file.Type()&os.ModeDevice != os.ModeDevice {
    			continue
    		}
    		filename := file.Name()
    		// TODO: Might need to check if the file is actually linked to devPath
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

        @Override
        public void applyToLink(ModelActionRole type, ModelAction action) {
            if (!getPath().isDirectChild(action.getSubject().getPath())) {
                throw new IllegalArgumentException(String.format("Linked element action reference has a path (%s) which is not a child of this node (%s).", action.getSubject().getPath(), getPath()));
            }
            modelRegistry.bind(action.getSubject(), type, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. cmd/os_other.go

    	return err
    }
    
    func osMkdirAll(dirPath string, perm os.FileMode, _ string) error {
    	// baseDir is not honored in plan9 and solaris platforms.
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. cmd/os-readdir-common.go

    	followDirSymlink bool
    }
    
    // Return all the entries at the directory dirPath.
    func readDir(dirPath string) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: -1})
    }
    
    // Return up to count entries at the directory dirPath.
    func readDirN(dirPath string, count int) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: count})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jul 09 23:20:51 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  7. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParser.java

            if(uri.getPath() == null){
                uri = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), uri.getPort(), "/", uri.getQuery(), uri.getFragment());
            }else if (!uri.getPath().endsWith("/") && !uri.getPath().endsWith(".html")) {
                uri = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), uri.getPort(), uri.getPath() + "/", uri.getQuery(), uri.getFragment());
    
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    TEST_P(ModularFileSystemTest, TestCreateDir) {
      const std::string dirpath = GetURIForPath("a_dir");
      Status status = env_->CreateDir(dirpath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    }
    
    TEST_P(ModularFileSystemTest, TestCreateDirNoParent) {
      const std::string dirpath = GetURIForPath("dir_not_found/a_dir");
      Status status = env_->CreateDir(dirpath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_attacher_test.go

    				dataPath := filepath.Join(dir, volDataFileName)
    				if _, err := os.Stat(dataPath); !os.IsNotExist(err) {
    					if err != nil {
    						t.Errorf("error checking file %s: %s", dataPath, err)
    					} else {
    						t.Errorf("json file %s should not exists, but it does", dataPath)
    					}
    				} else {
    					t.Logf("json file %s was correctly removed", dataPath)
    				}
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

            super(pomFile);
        }
    
        /**
         * Creates a new model source backed by the specified file.
         *
         * @param pomPath The POM file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileModelSource(Path pomPath) {
            super(pomPath);
        }
    
        /**
         *
         * @return the file of this source
         *
         * @deprecated instead use {@link #getFile()}
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top