We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5923794 commit 59bb314Copy full SHA for 59bb314
1 file changed
pkg/distribution/packaging/dirtar.go
@@ -9,7 +9,8 @@ import (
9
)
10
11
// CreateDirectoryTarArchive creates a temporary tar archive containing the specified directory
12
-// with its structure preserved. It returns the path to the temporary tar file and any error encountered.
+// with its structure preserved. Symlinks encountered in the directory are skipped and will not be included
13
+// in the archive. It returns the path to the temporary tar file and any error encountered.
14
// The caller is responsible for removing the temporary file when done.
15
func CreateDirectoryTarArchive(dirPath string) (string, error) {
16
// Verify directory exists
0 commit comments