Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,052 for pathsOf (0.19 sec)

  1. subprojects/core/src/main/java/org/gradle/api/tasks/Delete.java

    public abstract class Delete extends ConventionTask implements DeleteSpec {
        private ConfigurableFileCollection paths = getProject().getObjects().fileCollection();
    
        private boolean followSymlinks;
    
        @TaskAction
        protected void clean() throws IOException {
            boolean didWork = false;
            for (File path : paths) {
                didWork |= getDeleter().deleteRecursively(path, followSymlinks);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelPathTranslator.java

    /**
     * Resolves relative paths of a model against a specific base directory.
     *
     */
    public interface ModelPathTranslator {
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
         * configuration are not processed.
         *
         * @param model The model whose paths should be resolved, may be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/net/http/server_test.go

    	matches := []struct {
    		pattern  string
    		paths    []string // paths that match the pattern
    		paths121 []string // paths that matched the pattern in Go 1.21.
    	}{
    		{
    			"/a", // this pattern matches a path that unescapes to "/a"
    			[]string{"/a", "/%61"},
    			[]string{"/a", "/%61"},
    		},
    		{
    			"/%62", // patterns are unescaped by segment; matches paths that unescape to "/b"
    			[]string{"/b", "/%62"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalInvalidatableVirtualFileSystemConnection.java

         *
         * <p>The paths which are passed in need to be absolute, canonicalized paths.
         * For a delete, the deleted path should be passed.
         * For a rename, the old and the new path should be passed.
         * When creating a new file, the path to the file should be passed.
         *
         * <p>The call is synchronous, i.e. the method ensures that the changed paths are taken into account
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authorization/path/path.go

    )
    
    // NewAuthorizer returns an authorizer which accepts a given set of paths.
    // Each path is either a fully matching path or it ends in * in case a prefix match is done. A leading / is optional.
    func NewAuthorizer(alwaysAllowPaths []string) (authorizer.Authorizer, error) {
    	var prefixes []string
    	paths := sets.NewString()
    	for _, p := range alwaysAllowPaths {
    		p = strings.TrimPrefix(p, "/")
    		if len(p) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 13:47:19 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionResolveException.java

        }
    
        /**
         * Creates a copy of this exception, with the given incoming paths.
         */
        public ModuleVersionResolveException withIncomingPaths(Collection<? extends List<? extends ComponentIdentifier>> paths) {
            ModuleVersionResolveException copy = createCopy();
            copy.paths.addAll(paths);
            copy.initCauses(getCauses());
            copy.setStackTrace(getStackTrace());
            return copy;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:29:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/base/path.go

    		return rel
    	}
    	return path
    }
    
    // RelPaths returns a copy of paths with absolute paths
    // made relative to the current directory if they would be shorter.
    func RelPaths(paths []string) []string {
    	var out []string
    	for _, p := range paths {
    		rel, err := filepath.Rel(Cwd(), p)
    		if err == nil && len(rel) < len(p) {
    			p = rel
    		}
    		out = append(out, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 19:17:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_vendor_replace.txt

    stdout '.*[/\\]not-rsc.io[/\\]quote[/\\]v3'
    
    # The same module can't be used as two different paths.
    cd multiple-paths
    ! go mod vendor
    stderr 'rsc.io/quote/v3@v3.0.0 used for two different module paths \(not-rsc.io/quote/v3 and rsc.io/quote/v3\)'
    
    -- go.mod --
    module example.com/replace
    
    require rsc.io/quote/v3 v3.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 19:40:02 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	// users that rely on relative paths:
    	//   https://github.com/kubernetes/kubernetes/pull/77710#issuecomment-491989621
    	//
    	// Thus, a workaround here is to adapt the KubeletConfiguration paths for Windows.
    	// Note this is currently bound to KubeletConfiguration v1beta1.
    	klog.V(2).Infoln("[componentconfig] Adapting the paths in the KubeletConfiguration for Windows...")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/file/kotlin/build.gradle.kts

    import java.nio.file.Paths
    
    // tag::simple-params[]
    // Using a relative path
    var configFile = file("src/config.xml")
    
    // Using an absolute path
    configFile = file(configFile.absolutePath)
    
    // Using a File object with a relative path
    configFile = file(File("src/config.xml"))
    
    // Using a java.nio.file.Path object with a relative path
    configFile = file(Paths.get("src", "config.xml"))
    
    // Using an absolute java.nio.file.Path object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 546 bytes
    - Viewed (0)
Back to top