File: list_pkgs.sh

package info (click to toggle)
golang-mongodb-mongo-driver 1.8.4%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 18,520 kB
  • sloc: perl: 533; ansic: 491; python: 432; makefile: 187; sh: 72
file content (7 lines) | stat: -rwxr-xr-x 168 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
# list_pkgs <directory>
directory="$1"
if [ -z "$directory" ]; then
    directory="."
fi
go list $directory/... | sed -e "s/^go.mongodb.org\/mongo-driver/./"