~
home folder.
await exists(filepath)
await exists('~/') // true
await exists('~/nope.txt') // false
await exists('~/empty.txt') // true
await exists('~/empty.txt', { ignoreEmptyFiles: true }) // false
You can pass ignoreEmptyFiles: true
to count empty files the same as if the
file didn't exist.