summaryrefslogtreecommitdiff
path: root/lib/memzip/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memzip/import.c')
-rw-r--r--lib/memzip/import.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/memzip/import.c b/lib/memzip/import.c
deleted file mode 100644
index 2d5225b88..000000000
--- a/lib/memzip/import.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdio.h>
-
-#include "py/lexer.h"
-#include "memzip.h"
-
-mp_import_stat_t mp_import_stat(const char *path) {
- MEMZIP_FILE_INFO info;
-
- if (memzip_stat(path, &info) != MZ_OK) {
- return MP_IMPORT_STAT_NO_EXIST;
- }
-
- if (info.is_dir) {
- return MP_IMPORT_STAT_DIR;
- }
- return MP_IMPORT_STAT_FILE;
-}