Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for NormalizePath (0.23 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractClasspathEntry.java

            writeAccessRules(entryNode);
            writeEntryAttributes(entryNode);
            return entryNode;
        }
    
        protected String normalizePath(String path) {
            return PathUtil.normalizePath(path);
        }
    
        private Set<AccessRule> readAccessRules(Node node) {
            Set<AccessRule> accessRules = new LinkedHashSet<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        } else {
                            buf.append(split);
                        }
                        final String normalizePath = systemHelper.normalizeConfigPath(path);
                        if (StringUtil.isNotBlank(normalizePath)) {
                            buf.append(normalizePath);
                        }
                    }
                    this.includedPaths = Pattern.compile(buf.toString());
                }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. pkg/kubelet/util/util_unix.go

    func LocalEndpoint(path, file string) (string, error) {
    	u := url.URL{
    		Scheme: unixProtocol,
    		Path:   path,
    	}
    	return filepath.Join(u.String(), file+".sock"), nil
    }
    
    // NormalizePath is a no-op for Linux for now
    func NormalizePath(path string) string {
    	return path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/resource/local/PathNormalisingKeyFileStore.java

        }
    
        @Override
        public LocallyAvailableResource move(String key, File source) {
            return delegate.move(normalizePath(key), source);
        }
    
        protected String normalizePath(String path) {
            return path.replaceAll("[^\\d\\w\\./]", "_");
        }
    
        protected String normalizeSearchPath(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 06 12:56:56 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java

                    int len = rootDirPath.length();
                    path = entry.getKey() + filePath.substring(len);
                    usedVar = true;
                    break;
                }
            }
            path = PathUtil.normalizePath(path != null ? path : file.getAbsolutePath());
            return new FileReferenceImpl(file, path, usedVar);
        }
    
        /**
         * Creates a reference to the given path. Returns null for null path
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. pkg/kubelet/util/util_windows.go

    		return time.Time{}, err
    	}
    	return currentTime.Add(-time.Duration(output) * time.Millisecond).Truncate(time.Second), nil
    }
    
    // NormalizePath converts FS paths returned by certain go frameworks (like fsnotify)
    // to native Windows paths that can be passed to Windows specific code
    func NormalizePath(path string) string {
    	path = strings.ReplaceAll(path, "/", "\\")
    	if strings.HasPrefix(path, "\\") {
    		path = "c:" + path
    	}
    	return path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WbResource.java

        public WbResource(String deployPath, String sourcePath) {
            Preconditions.checkNotNull(deployPath);
            Preconditions.checkNotNull(sourcePath);
            this.deployPath = PathUtil.normalizePath(deployPath);
            this.sourcePath = PathUtil.normalizePath(sourcePath);
        }
    
        public String getDeployPath() {
            return deployPath;
        }
    
        public void setDeployPath(String deployPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/SourceFolder.java

        private List<String> excludes;
        //optional
        private File dir;
        private String name;
    
        public SourceFolder(Node node) {
            super(node);
            this.output = normalizePath((String) node.attribute("output"));
            this.includes = parseNodeListAttribute(node, "including");
            this.excludes = parseNodeListAttribute(node, "excluding");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

        }
    
        private ExpectMethod doGet(String path) {
            return new ExpectMethod("GET", normalizePath(path), timeout, lock);
        }
    
        /**
         * Expect a PUT request to the given path, discard the request body
         */
        public ExpectedRequest put(String path) {
            return new ExpectMethodAndRunAction("PUT", normalizePath(path), new SendEmptyResponse());
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. pkg/test/util/file/file.go

    }
    
    // MustAsString calls MustAsBytes and then converts to string.
    func MustAsString(filename string) string {
    	return string(MustAsBytes(filename))
    }
    
    // NormalizePath expands the homedir (~) and returns an error if the file doesn't exist.
    func NormalizePath(originalPath string) (string, error) {
    	if originalPath == "" {
    		return "", nil
    	}
    	// trim leading/trailing spaces from the path and if it uses the homedir ~, expand it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top