- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for NormalizePath (0.57 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) -
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) -
pkg/kubelet/util/util_windows_test.go
normalizedPath: "c:\\file", }, { originalpath: "fileonly", normalizedPath: "fileonly", }, } for _, test := range tests { assert.Equal(t, test.normalizedPath, NormalizePath(test.originalpath)) } } func TestLocalEndpoint(t *testing.T) { tests := []struct { path string file string expectError bool expectedFullPath string }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Link.java
Preconditions.checkArgument(!isNullOrEmpty(location) || !isNullOrEmpty(locationUri)); this.name = name; this.type = type; this.location = PathUtil.normalizePath(emptyToNull(location)); this.locationUri = emptyToNull(locationUri); } public String getName() { return name; } public void setName(String name) { this.name = name;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3.2K bytes - Viewed (0)