Download third_party/get-ripgrep/src/index.js from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/third_party/get-ripgrep/src/index.js
- Command line
-
hf download hf://SaylorTwift/gemini-cli/third_party/get-ripgrep/src/index.js
-
curl -L -o index.js https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/third_party/get-ripgrep/src/index.js
359 Bytes
| /* eslint-disable */ | |
| /** | |
| * @license | |
| * Copyright 2023 Lvce Editor | |
| * SPDX-License-Identifier: MIT | |
| */ | |
| import { dirname, join } from 'node:path' | |
| import { fileURLToPath } from 'node:url' | |
| const __dirname = dirname(fileURLToPath(import.meta.url)) | |
| export const rgPath = join( | |
| __dirname, | |
| '..', | |
| 'bin', | |
| `rg${process.platform === 'win32' ? '.exe' : ''}`, | |
| ) | |