MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / printEntry

Function printEntry

dep/adflib/src/adf_dir.c:864–878  ·  view source on GitHub ↗

* printEntry * */

Source from the content-addressed store, hash-verified

862 *
863 */
864void 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/*

Callers

nothing calls this directly

Calls 1

adfAccess2StringFunction · 0.85

Tested by

no test coverage detected