diff options
Diffstat (limited to 'shared/extra-utils/file.ts')
-rw-r--r-- | shared/extra-utils/file.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/shared/extra-utils/file.ts b/shared/extra-utils/file.ts deleted file mode 100644 index 8060ab520..000000000 --- a/shared/extra-utils/file.ts +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | import { stat } from 'fs-extra' | ||
2 | |||
3 | async function getFileSize (path: string) { | ||
4 | const stats = await stat(path) | ||
5 | |||
6 | return stats.size | ||
7 | } | ||
8 | |||
9 | export { | ||
10 | getFileSize | ||
11 | } | ||