harababurel/gcsf

Report the real file size of exportable Drive documents

Aberta

#6 aberto em 27 de jun. de 2018

 (0 comentário) (0 reação) (0 responsável)Rust (97 forks)user submission
enhancementhelp wanted

Métricas do repositório

Stars
 (2.382 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador