* printEntry * */
| 862 | * |
| 863 | */ |
| 864 | void printEntry(struct Entry* entry) |
| 865 | { |
| 866 | printf("%-30s %2d %6d ", entry->name, entry->type, entry->sector); |
| 867 | printf("%2d/%02d/%04d %2d:%02d:%02d",entry->days, entry->month, entry->year, |
| 868 | entry->hour, entry->mins, entry->secs); |
| 869 | if (entry->type==ST_FILE) |
| 870 | printf("%8d ",entry->size); |
| 871 | else |
| 872 | printf(" "); |
| 873 | if (entry->type==ST_FILE || entry->type==ST_DIR) |
| 874 | printf("%-s ",adfAccess2String(entry->access)); |
| 875 | if (entry->comment!=NULL) |
| 876 | printf("%s ",entry->comment); |
| 877 | putchar('\n'); |
| 878 | } |
| 879 | |
| 880 | |
| 881 | /* |
nothing calls this directly
no test coverage detected