Skip to content

Commit

Permalink
bee-cache: Remove unsued "beecache grep" command
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed May 9, 2024
1 parent 75e726a commit 54d1627
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/bee-cache.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ function cache_update_pkg() {
return 0
}

function cache_grep() {
${BEEFLOCK} --shared ${BEECACHE_INVENTORY} \
grep "${@}" ${BEECACHE_INVENTORY}
}

function print_conflicts() {
local pkg=${1}

Expand Down Expand Up @@ -224,7 +219,6 @@ function usage() {
-h, --help display this help
Commands:
grep <pattern>
rebuild
update <pkgname...>
print-uniq-files <pkgname>
Expand Down Expand Up @@ -283,9 +277,6 @@ cache_verify
tmpinstall_to_filenames

case "${cmd}" in
grep)
cache_grep "${@}" | cut -d ' ' -f${FIELDS}
;;
rebuild)
cache_rebuild
;;
Expand Down

0 comments on commit 54d1627

Please sign in to comment.