Revert "Load and calculate Destination of files for kustomize localize (#4652)"

This reverts commit bf17fe1d8f.
This commit is contained in:
Natasha Sarkar
2022-08-26 13:26:23 -05:00
committed by GitHub
parent b6fae2a959
commit 8868d91670
27 changed files with 101 additions and 793 deletions

View File

@@ -23,10 +23,10 @@ type FileSystem interface {
// Create a file.
Create(path string) (File, error)
// Mkdir makes a directory.
// MkDir makes a directory.
Mkdir(path string) error
// MkdirAll makes a directory path, creating intervening directories.
// MkDirAll makes a directory path, creating intervening directories.
MkdirAll(path string) error
// RemoveAll removes path and any children it contains.
@@ -45,7 +45,7 @@ type FileSystem interface {
// directory and a file name, where the directory
// is represented as a ConfirmedDir and all that implies.
// If the entire path is a directory, the file component
// is an empty string. Path can be relative.
// is an empty string.
CleanedAbs(path string) (ConfirmedDir, string, error)
// Exists is true if the path exists in the file system.