Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 685 Bytes

pruneTemp.md

File metadata and controls

29 lines (17 loc) · 685 Bytes

happy-opfsDocs


happy-opfs / pruneTemp

Function: pruneTemp()

function pruneTemp(expired): AsyncVoidIOResult

Prune the temporary directory and delete all expired files.

Parameters

Parameter Type Description
expired Date The date to determine whether a file is expired.

Returns

AsyncVoidIOResult

A promise that resolves to an AsyncVoidIOResult indicating whether the temporary directory was successfully pruned.

Defined in

fs/opfs_tmp.ts:38