github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/.github/scripts/is_autogenerated_file.sh (about) 1 #!/usr/bin/env bash 2 3 FILEPATH="$1" 4 5 grep -q "Code generated by gtrace. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0 6 grep -q "Code generated by MockGen. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0 7 8 echo NO 9 exit 0