Skip to content

Commit 59bb314

Browse files
ilopezlunaCopilot
andauthored
Update pkg/distribution/packaging/dirtar.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5923794 commit 59bb314

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkg/distribution/packaging/dirtar.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import (
99
)
1010

1111
// 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.
12+
// 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.
1314
// The caller is responsible for removing the temporary file when done.
1415
func CreateDirectoryTarArchive(dirPath string) (string, error) {
1516
// Verify directory exists

0 commit comments

Comments
 (0)