Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for destPath (0.28 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

    import static org.junit.Assert.assertEquals
    import static org.junit.Assert.assertThrows
    import static org.junit.Assert.fail
    
    class BaseDirFileResolverTest {
        static final String TEST_PATH = 'testpath'
    
        File baseDir
        File testFile
        File testDir
    
        BaseDirFileResolver baseDirConverter
        @Rule public TestNameTestDirectoryProvider rootDir = new TestNameTestDirectoryProvider(getClass())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                    .evaluate("${session.rootDirectory.uri}");
            assertEquals(path.toUri(), result);
        }
    
        @Test
        public void testPath() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

                    .evaluate("${session.rootDirectory.uri}");
            assertEquals(path.toUri(), result);
        }
    
        @Test
        public void testPath() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    			}
    		case "dv":
    			z.DstVolume, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DstVolume")
    				return
    			}
    		case "dp":
    			z.DstPath, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "DstPath")
    				return
    			}
    		case "fi":
    			err = z.FI.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "FI")
    				return
    			}
    		case "ro":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    }
    
    // ConnectResource returns a function that handles a connect request on a rest.Storage object.
    func ConnectResource(connecter rest.Connecter, scope *RequestScope, admit admission.Interface, restPath string, isSubresource bool) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		if isDryRun(req.URL) {
    			scope.err(errors.NewBadRequest("dryRun is not supported"), w, req)
    			return
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    type RenameDataHandlerParams struct {
    	DiskID    string        `msg:"id"`
    	SrcVolume string        `msg:"sv"`
    	SrcPath   string        `msg:"sp"`
    	DstVolume string        `msg:"dv"`
    	DstPath   string        `msg:"dp"`
    	FI        FileInfo      `msg:"fi"`
    	Opts      RenameOptions `msg:"ro"`
    }
    
    // RenameDataInlineHandlerParams are parameters for RenameDataHandler with a buffer for inline data.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    		// If we add a file in the overlay, we don't want to add it in the original.
    		if info.IsDir() {
    			return os.MkdirAll(dstPath, perm|0200)
    		}
    
    		// If the OS supports symlinks, use them instead of copying bytes.
    		if err := os.Symlink(srcPath, dstPath); err == nil {
    			return nil
    		}
    
    		// Otherwise, copy the bytes.
    		src, err := os.Open(srcPath)
    		if err != nil {
    			return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	}
    }
    
    func restfulConnectResource(connecter rest.Connecter, scope handlers.RequestScope, admit admission.Interface, restPath string, isSubresource bool) restful.RouteFunction {
    	return func(req *restful.Request, res *restful.Response) {
    		handlers.ConnectResource(connecter, &scope, admit, restPath, isSubresource)(res.ResponseWriter, req.Request)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	}
    	if opts.Param1 != "value1" && opts.Param2 != "value2" {
    		t.Errorf("Unexpected options value: %#v", opts)
    	}
    	if opts.Path != testPath {
    		t.Errorf("Unexpected path value. Expected: %s. Actual: %s.", testPath, opts.Path)
    	}
    }
    
    func TestDelete(t *testing.T) {
    	storage := map[string]rest.Storage{}
    	simpleStorage := SimpleRESTStorage{}
    	ID := "id"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    	if !s.checkID(p.DiskID) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    
    	resp, err := s.getStorage().RenameData(context.Background(), p.SrcVolume, p.SrcPath, p.FI, p.DstVolume, p.DstPath, p.Opts)
    	return &resp, grid.NewRemoteErr(err)
    }
    
    // RenameDataInlineHandler - renames a meta object and data dir to destination.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top