- // Remove files/dirs that don't match globs (the ones that
- // were added during cp.walkMount() by copying subtree
- // manifests into cp.manifest).
- err = cp.applyGlobsToCollectionFS(collfs)
+ // Remove files/dirs that don't match globs (the files/dirs
+ // that were added during cp.walkMount() by copying subtree
+ // manifests into cp.staged).
+ err = cp.applyGlobsToStaged()