Instance Propertyswift-transformers 0.1.18Hub
filename
Path of the file in the repo
let filename: String
Path of the file in the repo
let filename: String
import Hub
struct LocalDownloadFileMetadata
Metadata about a file in the local directory related to a download process
struct HubApi
@frozen struct String
A Unicode string value that is a collection of characters.
let commitHash: String
Commit hash of the file in the repo
let etag: String
ETag of the file in the repo. Used to check if the file has changed. For LFS files, this is the sha256 of the file. For regular files, it corresponds to the git hash.
let timestamp: Date
The timestamp of when the metadata was saved i.e. when the metadata was accurate