Skip to main content

DIR_PAGE_MAX

Constant DIR_PAGE_MAX 

Source
pub const DIR_PAGE_MAX: u16 = 512;
Expand description

The most pages Fs::list_dir will request before stopping and saying so.

The same bound services/shell uses. A walk has to terminate on its own rather than on the service being well-behaved (26.6), and 512 pages is far past any directory this filesystem holds while still being a number rather than “however many it takes”.