diff options
Diffstat (limited to 'src/deliverable.c')
-rw-r--r-- | src/deliverable.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/deliverable.c b/src/deliverable.c index dbbaecb..4318f53 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -1293,27 +1293,6 @@ int delivery_copy_wheel_artifacts(struct Delivery *ctx) { return system(cmd); } -static struct StrList *listdir(const char *path) { - struct StrList *node; - DIR *dp; - struct dirent *rec; - - dp = opendir(path); - if (!dp) { - return NULL; - } - node = strlist_init(); - - while ((rec = readdir(dp)) != NULL) { - if (!strcmp(rec->d_name, ".") || !strcmp(rec->d_name, "..")) { - continue; - } - strlist_append(&node, rec->d_name); - } - closedir(dp); - return node; -} - int delivery_index_wheel_artifacts(struct Delivery *ctx) { struct dirent *rec; DIR *dp; |