Skip to main content

global_layout

Function global_layout 

Source
pub fn global_layout(arguments: &[OsString]) -> GlobalLayout
Expand description

What: Find a command/query/error boundary with one forward scan. Why: Values such as ‘-h’, empty -C paths and non-UTF-8 filenames remain original opaque argument values. Symlink-sensitive -C chaining is not approximated lexically; repository queries forward the complete prefix.

In TS you’d write (pseudocode):

function globalLayout(nativeArgs): { prefixLen: number; outcome: GlobalOutcome };