diff --git a/main.c b/main.c index e529a7f..e990380 100644 --- a/main.c +++ b/main.c @@ -27,6 +27,7 @@ #include #include +// Prints the program license to the user. int printLicense(int full){ if (full == 0) { printf("%s\n", LICENSE); @@ -44,6 +45,7 @@ int printLicense(int full){ } } +// Gets the user defined directories void getAdditionalDirs(){ printf("%s\n", STR_FETCHING_ADD_DIRS); int dirs; @@ -51,7 +53,6 @@ void getAdditionalDirs(){ printf("%s %d\n", STR_DIR_COUNT, dirs); fflush(stdout); for(unsigned short x = 0; x < dirs; x++){ - // TODO: Tell if item is a directory. If so, then iterate through all items on it. char dirKey[7] = "Pasta"; char* intPtr = (x + 1) + '0'; strcat(dirKey, &intPtr); @@ -63,6 +64,7 @@ void getAdditionalDirs(){ } } +// Cleans a directory. void cleanDir(const char* path){ // Path with wildcard char wildPath[strlen(path) + 1];