@@ -11,7 +11,7 @@ pub struct ModelInfo {
1111 pub provider : String ,
1212 pub revision : String ,
1313 pub size : u64 ,
14- pub created_at : String ,
14+ pub modified_at : String ,
1515 pub cache_path : String ,
1616}
1717
@@ -122,7 +122,7 @@ mod tests {
122122 provider : "huggingface" . to_string ( ) ,
123123 revision : "abc123" . to_string ( ) ,
124124 size : 1000 ,
125- created_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
125+ modified_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
126126 cache_path : "/tmp/test" . to_string ( ) ,
127127 } ;
128128
@@ -143,7 +143,7 @@ mod tests {
143143 provider : "huggingface" . to_string ( ) ,
144144 revision : "abc123" . to_string ( ) ,
145145 size : 1000 ,
146- created_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
146+ modified_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
147147 cache_path : "/tmp/test" . to_string ( ) ,
148148 } ;
149149
@@ -164,7 +164,7 @@ mod tests {
164164 provider : "huggingface" . to_string ( ) ,
165165 revision : "abc123" . to_string ( ) ,
166166 size : 1000 ,
167- created_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
167+ modified_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
168168 cache_path : "/tmp/test" . to_string ( ) ,
169169 } ;
170170
@@ -198,7 +198,7 @@ mod tests {
198198 provider : "huggingface" . to_string ( ) ,
199199 revision : "abc123" . to_string ( ) ,
200200 size : 1000 ,
201- created_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
201+ modified_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
202202 cache_path : "/tmp/test" . to_string ( ) ,
203203 } ;
204204
@@ -209,7 +209,7 @@ mod tests {
209209 provider : "huggingface" . to_string ( ) ,
210210 revision : "def456" . to_string ( ) ,
211211 size : 2000 ,
212- created_at : "2025-01-02T00:00:00Z" . to_string ( ) ,
212+ modified_at : "2025-01-02T00:00:00Z" . to_string ( ) ,
213213 cache_path : "/tmp/test2" . to_string ( ) ,
214214 } ;
215215
@@ -236,7 +236,7 @@ mod tests {
236236 provider : "huggingface" . to_string ( ) ,
237237 revision : "abc123" . to_string ( ) ,
238238 size : 1000 ,
239- created_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
239+ modified_at : "2025-01-01T00:00:00Z" . to_string ( ) ,
240240 cache_path : cache_dir. to_string_lossy ( ) . to_string ( ) ,
241241 } ;
242242
0 commit comments