We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
revision
downloadFile
1 parent 8fe92c7 commit 2b93cefCopy full SHA for 2b93cef
packages/hub/src/lib/download-file.ts
@@ -16,6 +16,11 @@ export async function downloadFile(params: {
16
* For example, when calling on a file stored with Git LFS, the pointer file will be downloaded instead.
17
*/
18
raw?: boolean;
19
+ /**
20
+ * An optional Git revision id which can be a branch name, a tag, or a commit hash.
21
+ *
22
+ * @default "main"
23
+ */
24
revision?: string;
25
/**
26
* Fetch only a specific part of the file
0 commit comments