Last updated 1 month ago
Was this helpful?
Fetches the file headers, after which file$properties will contain a name list with entries for name, size, contentType, and md5. Will raise an error if the file does not exist.
file$properties
name
size
contentType
md5
self (a )
f = redivis$file("4c10-d8rqhswh8.GzFqtjBLb8bBoF9uJBzvOA") f$get() print(f$properties) # $kind # [1] "rawFile" # $id # [1] "4c10-d8rqhswh8.GzFqtjBLb8bBoF9uJBzvOA" # $uri # [1] "/rawFiles/4c10-d8rqhswh8.GzFqtjBLb8bBoF9uJBzvOA" # $name # [1] "2CylinderEngine.gltf" # $contentType # [1] "model/gltf+json" # $md5 # [1] "crc32c=3Kxlyg==" # $size # [1] 2503896