- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for NormalizePath (0.19 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:26:37 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/PathUtil.java
* limitations under the License. */ package org.gradle.plugins.ide.eclipse.model.internal; import org.apache.commons.io.FilenameUtils; public class PathUtil { public static String normalizePath(String path) { return FilenameUtils.separatorsToUnix(path); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 857 bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Output.java
public Output(Node node) { this((String)node.attribute("path")); } public Output(String path) { Preconditions.checkNotNull(path); this.path = PathUtil.normalizePath(path); } public String getPath() { return path; } public void setPath(String path) { this.path = path; } @Override public String getKind() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.1K bytes - Viewed (0)