CreateFileOptions interface
傳入 createFile 的選項,指定檔案的相關元數據。
屬性
| last |
檔案的上次修改時間為 UNIX 時間戳。 這會預設為目前的日期。 |
| type | 檔案的MIME類型。 |
| webkit |
上傳目錄時,這個檔案的相對路徑。 |
屬性詳細資料
lastModified
檔案的上次修改時間為 UNIX 時間戳。 這會預設為目前的日期。
lastModified?: number
屬性值
number
type
檔案的MIME類型。
type?: string
屬性值
string
webkitRelativePath
上傳目錄時,這個檔案的相對路徑。
webkitRelativePath?: string
屬性值
string