Skip to content

Commit b046a5e

Browse files
mountdiskndeloof
authored andcommitted
chore: fix some minor issues in the comments
Signed-off-by: mountdisk <mountdisk@icloud.com>
1 parent 1570c6c commit b046a5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/sync/tar.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (a *ArchiveBuilder) writeEntry(entry archiveEntry) error {
229229
return nil
230230
}
231231

232-
// tarPath writes the given source path into tarWriter at the given dest (recursively for directories).
232+
// entriesForPath writes the given source path into tarWriter at the given dest (recursively for directories).
233233
// e.g. tarring my_dir --> dest d: d/file_a, d/file_b
234234
// If source path does not exist, quietly skips it and returns no err
235235
func (a *ArchiveBuilder) entriesForPath(localPath, containerPath string) ([]archiveEntry, error) {

0 commit comments

Comments
 (0)