Browse Source

Merge pull request #1114 from nextcloud/fix/tool/untested-apis-multiple-clients

pull/1120/head
Kate 1 year ago committed by GitHub
parent
commit
3eb70c8c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tool/find-untested-neon-apis.sh

2
tool/find-untested-neon-apis.sh

@ -4,7 +4,7 @@ cd "$(dirname "$0")/.."
function find_apis() {
path="$1"
grep -r "$path" --include "*\.dart" -e "client\.[^.]*.[^(]*(" -oh | sed "s/^client\.//" | sed "s/($//" | sed "s/Raw$//" | grep -v "^executeRawRequest" | sort | uniq
grep -r "$path" --include "*\.dart" -e "client\([0-9]\)\?\.[^.]*.[^(]*(" -oh | sed "s/^client\([0-9]\)\?\.//" | sed "s/($//" | sed "s/Raw$//" | grep -v "^executeRawRequest" | sort | uniq
}
used_apis=("$(find_apis "packages/neon")")

Loading…
Cancel
Save