From b046a5ef72698b8551542836e18ae11d99e1f2ab Mon Sep 17 00:00:00 2001 From: mountdisk Date: Mon, 30 Jun 2025 14:42:35 +0800 Subject: [PATCH] chore: fix some minor issues in the comments Signed-off-by: mountdisk --- internal/sync/tar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sync/tar.go b/internal/sync/tar.go index 64c65faf6..1abec82db 100644 --- a/internal/sync/tar.go +++ b/internal/sync/tar.go @@ -229,7 +229,7 @@ func (a *ArchiveBuilder) writeEntry(entry archiveEntry) error { return nil } -// tarPath writes the given source path into tarWriter at the given dest (recursively for directories). +// entriesForPath writes the given source path into tarWriter at the given dest (recursively for directories). // e.g. tarring my_dir --> dest d: d/file_a, d/file_b // If source path does not exist, quietly skips it and returns no err func (a *ArchiveBuilder) entriesForPath(localPath, containerPath string) ([]archiveEntry, error) {