pub const MOST_FILES: usize = 10_000;
The most files, and bytes in all, of a folder the editor is sent: a folder much larger is no workspace, but a home directory opened by mistake.