Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for ParentPath (0.56 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/options.go

    		return
    	}
    	if len(o.ParentPath) > 0 {
    		o.ParentPath = append(o.ParentPath, ".")
    	}
    	o.ParentPath = append(o.ParentPath, key)
    }
    
    // AppendIndex adds an index to the most recent field of
    // the current parent path, if TrackUnknownFieldPaths is true.
    func (o *UnknownFieldPathOptions) AppendIndex(index int) {
    	if !o.TrackUnknownFieldPaths {
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm.go

    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			} else if s.AdditionalProperties != nil {
    				opts.AppendKey(k)
    				prune(v, s.AdditionalProperties.Structural, opts)
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			}
    		}
    	case []interface{}:
    		for i, v := range x {
    			opts.AppendIndex(i)
    			skipPrune(v, s.Items, opts)
    			opts.ParentPath = opts.ParentPath[:origPathLen]
    		}
    	default:
    		// scalars, do nothing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AttributeBasedFileVisitDetailsFactory.java

         * @param path Path of the file
         * @param parentPath RelativePath of the parent
         * @param attrs attributes of the path, null if not available
         * @param stopFlag transient flag to stop visiting
         * @param fileSystem for Chmod and Stat
         * @return FileVisitDetails
         */
        public static FileVisitDetails getFileVisitDetails(
            Path path,
            RelativePath parentPath,
            @Nullable BasicFileAttributes attrs,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm.go

    					return err
    				}
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			} else if s.AdditionalProperties != nil {
    				opts.AppendKey(k)
    				if err := c.coerce(pth.Key(k), v, s.AdditionalProperties.Structural, opts); err != nil {
    					return err
    				}
    				opts.ParentPath = opts.ParentPath[:origPathLen]
    			}
    		}
    	case []interface{}:
    		for i, v := range x {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  5. pkg/filewatcher/filewatcher.go

    	cleanedPath := filepath.Clean(path)
    	parentPath, _ := filepath.Split(cleanedPath)
    
    	ws, workerExists := fw.workers[parentPath]
    	if !workerExists {
    		wk, err := newWorker(parentPath, fw.funcs)
    		if err != nil {
    			return nil, "", "", err
    		}
    
    		ws = &workerState{
    			worker: wk,
    		}
    
    		fw.workers[parentPath] = ws
    	}
    
    	return ws, cleanedPath, parentPath, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResourceUploader.java

        }
    
        private void ensureParentDirectoryExists(ChannelSftp channel, URI uri) {
            String parentPath = FilenameUtils.getFullPathNoEndSeparator(uri.getPath());
            if (parentPath.equals("/")) {
                return;
            }
            URI parent = uri.resolve(parentPath);
    
            try {
                channel.lstat(parentPath);
                return;
            } catch (com.jcraft.jsch.SftpException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

            childPaths.findAll { it.contains('/') } collectMany { childPath ->
                parentPaths(childPath).collect { parentPath ->
                    new VirtualFileSystemTestSpec(childPaths, parentPath, findPathWithParent(childPaths, parentPath))
                }
            }
        }
    
        /**
         * The queried/updated path is one of the initial children of the node under test.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/file/RelativePath.java

            int nextIndex = 0;
            if (parentPath != null) {
                System.arraycopy(parentPath.segments, 0, newSegments, 0, parentPath.segments.length);
                nextIndex = parentPath.segments.length;
            }
            for (String segment : childSegments) {
                if (segment.equals(".")) {
                    continue;
                }
                if (segment.equals("..")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 05:20:08 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    		return
    	}
    
    	pathLen := len(c.parentPath)
    	c.pushKey(field)
    	errPath := strings.Join(c.parentPath, "")
    	c.parentPath = c.parentPath[:pathLen]
    	c.unknownFieldErrors = append(c.unknownFieldErrors, fmt.Errorf(`unknown field "%s"`, errPath))
    }
    
    func (c *fromUnstructuredContext) pushIndex(index int) {
    	if !c.returnUnknownFields {
    		return
    	}
    
    	c.parentPath = append(c.parentPath, "[", strconv.Itoa(index), "]")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r213/ModelsWithGradleProjectCrossVersionSpec.groovy

            def project = projects.find {it.name == name}
            assert project != null :  "No project with name $name found"
            assertProject(project, rootDir, path, name, parentPath, childPaths)
         }
    
        private static void assertProject(def project, File rootDir, String path, String name, String parentPath, List<String> childPaths) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top