Spaces:
Runtime error
Runtime error
Download vendor/tree-sitter-ql/script/fetch-examples from deepcode-ai/codeql-jupyter: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/deepcode-ai/codeql-jupyter/resolve/main/vendor/tree-sitter-ql/script/fetch-examples
- Command line
-
hf download hf://spaces/deepcode-ai/codeql-jupyter/vendor/tree-sitter-ql/script/fetch-examples
-
curl -L -o fetch-examples https://huggingface.co/spaces/deepcode-ai/codeql-jupyter/resolve/main/vendor/tree-sitter-ql/script/fetch-examples
297 Bytes
| set -e | |
| function checkout() { | |
| repo=$1; url=$2; sha=$3 | |
| if [ ! -d "$repo" ]; then | |
| git clone "https://github.com/$url" "$repo" | |
| fi | |
| pushd "$repo" | |
| git fetch && git reset --hard "$sha" | |
| popd | |
| } | |
| checkout examples/codeql github/codeql 86404af50100b409b18e62651295e79393a6016a | |