code: func partitionDeps(deps []string, rootDir string, blacklist []string) (partitionedDeps, error) {
  	fsView, err := common.NewFilesystemView(rootDir, blacklist)
  	if err != nil {
  		return partitionedDeps{}, err
  	}
  
  	walker := partitioningWalker{fsView: fsView, seen: stringset.New(1024)}
  	for _, dep := range deps {
  		// Try to walk dep. If dep is a file (or symlink), the inner function is called exactly once.
  		if err := filepath.Walk(filepath.Clean(dep), walker.walkFn); err != nil {
  			return partitionedDeps{}, err
  		}
  	}
  	return walker.parts, nil
  }
docs: // partitionDeps walks each of the deps, partioning the results into symlinks and files categorized by size.