harababurel/gcsf

Report the real file size of exportable Drive documents

オープン

#6 opened on 2018/06/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (97 件のフォーク)user submission
enhancementhelp wanted

Repository metrics

Stars
 (2,382 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド