File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ describe("listFiles", () => {
3737 size : 440473133 ,
3838 pointerSize : 134 ,
3939 } ,
40+ xetHash : "2d8408d3a894d02517d04956e2f7546ff08362594072f3527ce144b5212a3296" ,
4041 oid : "ba5d19791be1dd7992e33bd61f20207b0f7f50a5" ,
4142 path : "pytorch_model.bin" ,
4243 size : 440473133 ,
@@ -48,6 +49,7 @@ describe("listFiles", () => {
4849 size : 536063208 ,
4950 pointerSize : 134 ,
5051 } ,
52+ xetHash : "879c5715c18a0b7f051dd33f70f0a5c8dd1522e0a43f6f75520f16167f29279b" ,
5153 oid : "9eb98c817f04b051b3bcca591bcd4e03cec88018" ,
5254 path : "tf_model.h5" ,
5355 size : 536063208 ,
@@ -113,6 +115,7 @@ describe("listFiles", () => {
113115 size : 440473133 ,
114116 pointerSize : 134 ,
115117 } ,
118+ xetHash : "2d8408d3a894d02517d04956e2f7546ff08362594072f3527ce144b5212a3296" ,
116119 oid : "ba5d19791be1dd7992e33bd61f20207b0f7f50a5" ,
117120 path : "pytorch_model.bin" ,
118121 size : 440473133 ,
@@ -129,6 +132,7 @@ describe("listFiles", () => {
129132 size : 536063208 ,
130133 pointerSize : 134 ,
131134 } ,
135+ xetHash : "879c5715c18a0b7f051dd33f70f0a5c8dd1522e0a43f6f75520f16167f29279b" ,
132136 oid : "9eb98c817f04b051b3bcca591bcd4e03cec88018" ,
133137 path : "tf_model.h5" ,
134138 size : 536063208 ,
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ export interface ListFileEntry {
1717 /** Size of the raw pointer file, 100~200 bytes */
1818 pointerSize : number ;
1919 } ;
20+ /**
21+ * Xet-backed hash, a new protocol replacing LFS for big files.
22+ */
23+ xetHash ?: string ;
2024 /**
2125 * Only fetched if `expand` is set to `true` in the `listFiles` call.
2226 */
You can’t perform that action at this time.
0 commit comments