Skip to content

Commit f203aa4

Browse files
committed
refactor sugar/path.removeEntry and upload with off gocognit linter with fixies in comments
1 parent 3047f3f commit f203aa4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sugar/path.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ func removeWithPrefix(pathToRemove string, db dbFoRemoveRecursive) string {
158158
}
159159

160160
// removeEntry removes an entry from the database.
161-
// It takes a context, an index, a path, an index, a database, a directory, and a function to recursively remove directories.
162-
// It returns an error if the removal fails.
163161
func removeEntry(
164162
ctx context.Context,
165163
i int,

0 commit comments

Comments
 (0)