Replaced deprecated function #152

Merged
asmeron merged 1 commits from YanTheKaller/ubl-settings-repomanager:master into master 1 month ago

@ -36,7 +36,7 @@ storage_struct *yon_storage_struct_new(){
void yon_repo_fill_archs(repo_struct *repo){ void yon_repo_fill_archs(repo_struct *repo){
int size; int size;
config_str folders = yon_dir_get_contents(repo->path,&size); config_str folders = yon_file_ls(repo->path,&size);
for (int i=0;i<size;i++){ for (int i=0;i<size;i++){
char *full_path = yon_char_unite(repo->path,"/",folders[i],NULL); char *full_path = yon_char_unite(repo->path,"/",folders[i],NULL);
if (yon_file_is_directory(full_path)&& if (yon_file_is_directory(full_path)&&

Loading…
Cancel
Save