Here is a link to the runtime API reference for Deno Deploy:
https://deno.com/deploy/docs/runtime-api/
Included in the description text at the top of the document is this:
Deno Deploy Runtime helps you write web servers in TypeScript/JavaScript using the Web APIs. It's different from Deno but aims to have similar APIs where applicable.
The following Web and Deno APIs are supported on Deno Deploy Runtime...
And it goes on to provide an exhaustive list of the available Deno and web APIs in Deploy.
Here's a link to the file system API reference:
https://deno.com/deploy/docs/runtime-fs/
Here's what's included at the time of writing this answer:
Deno Deploy supports a limited set of file system APIs available in Deno. Your project should be linked to a GitHub repository in order to use these APIs. URL deployments do not support these APIs and will result in an exception when used.
Deno.cwd
Deno.readDir
Deno.readFile
Deno.readTextFile
If you read through the list, you'll notice that Deno.stat
is not included. It is not among the available methods in Deno Deploy.