CE Improve ls entry type hint
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m36s

This commit is contained in:
2026-03-01 14:12:41 +01:00
parent 6313191b9b
commit 858e55118b

View File

@@ -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 ();