Browse Source

chore: fix some minor issues in the comments

Signed-off-by: mountdisk <[email protected]>
mountdisk 5 months ago
parent
commit
b046a5ef72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/sync/tar.go

+ 1 - 1
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) {