harababurel/gcsf

Report the real file size of exportable Drive documents

Ouverte

#6 ouverte le 27 juin 2018

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (97 forks)user submission
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 382 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

File size is not a well defined concept for special Drive documents (Docs, Sheets, Slides) because it depends on the export format. For such documents, GCSF should report the corresponding file size they would have when exported with the default MIME type.

One way of achieving this is by exporting each document at mount time in order to obtain its real size. This is incredibly slow. For the moment, GCSF reports the maximum file size (10 MB) for all special documents.

Guide contributeur