I'm writing an API which will potentially create a large temporary file. I thought it would useful to validate that there was enough space on the disk to write the file before proceeding, however, I can't find a way to achieve this. Is there a cross-platform way to achieve this?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.