CE Improve ls entry type hint
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m36s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m36s
This commit is contained in:
3
ce/ce.c
3
ce/ce.c
@@ -441,7 +441,8 @@ static void ls (struct context* context, const char* path_string) {
|
||||
read_dir_entry (path, &entry, entry_num);
|
||||
describe (entry.path, &desc);
|
||||
|
||||
cprintf (context, "%c%-40s %-40zu\n", (desc.type == FS_DIR ? '*' : ' '), entry.path, desc.size);
|
||||
cprintf (context, "%c %-40s %-40zu\n", (desc.type == FS_DIR ? 'D' : 'F'), entry.path,
|
||||
desc.size);
|
||||
}
|
||||
|
||||
volume_close ();
|
||||
|
||||
Reference in New Issue
Block a user