Skip to content

Commit

Permalink
refactor tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lixia (Sylvia) Lei <[email protected]>
  • Loading branch information
Wwwsylvia committed Jan 17, 2025
1 parent d0026ed commit 328526a
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 158 deletions.
2 changes: 1 addition & 1 deletion internal/fs/tarfs/tarfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ func (tfs *TarFS) indexEntries() error {
return nil
}

// getEntryKey cleans the name and returns a key for the entry.
func getEntryKey(name string) string {
// TODO: documentation
return filepath.Clean(name)
}

Expand Down
Loading

0 comments on commit 328526a

Please sign in to comment.