- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for NormalizePath (0.2 sec)
-
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/test/framework/config/config.go
} else if v := parent.String(key); v != "" { // otherwise parse via string (if-set) err = f.Value.Set(v) } }) } func readConfig() (Map, error) { path, err := file.NormalizePath(configFilePath) if err != nil { return nil, fmt.Errorf("failed normalizing config file path %q: %v", configFilePath, err) } bytes, err := os.ReadFile(path) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 3.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) -
pkg/test/framework/components/echo/deployment/flags.go
} if cc.Cluster.Name() != "" { _, _ = fmt.Fprintf(buf, "Cluster: %s\n", cc.Cluster.Name()) } } return buf.String() } func (c *configs) Set(path string) error { path, err := file.NormalizePath(path) if err != nil { return err } yml, err := os.ReadFile(path) if err != nil { return err } out, err := echo.ParseConfigs(yml) if err != nil { return err } *c = out
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/test/framework/components/cluster/kube/factory.go
cfg, err := validConfig(origCfg) if err != nil { return nil, err } kubeconfigPath := cfg.Meta.String(kubeconfigMetaKey) kubeconfigPath, err = file.NormalizePath(kubeconfigPath) if err != nil { return nil, err } var client istioKube.CLIClient if len(cfg.HTTPProxy) > 0 { proxyURL, err := url.Parse(cfg.HTTPProxy) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WbDependentModule.java
Preconditions.checkNotNull(archiveName); Preconditions.checkNotNull(deployPath); this.archiveName = archiveName; this.deployPath = PathUtil.normalizePath(deployPath); this.handle = Preconditions.checkNotNull(handle); } /** * Get the archiveName property. * * @return the archiveName for this module. * @since 8.1 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go
} if strings.HasPrefix(fi.Name(), ".") { klog.V(5).InfoS("Ignoring file (starts with '.')", "path", fi.Name()) return nil } if !fi.IsDir() { isSocket, err := util.IsUnixDomainSocket(util.NormalizePath(event.Name)) if err != nil { return fmt.Errorf("failed to determine if file: %s is a unix domain socket: %v", event.Name, err) } if !isSocket {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:26:37 UTC 2023 - 6.1K bytes - Viewed (0)