Parse a notebookPath argument. A native Windows path (C:\notes)
parses its drive letter as the scheme (scheme: "C", path \notes) and
silently drops it — the drive-relative remainder only works while the
process cwd happens to share the drive, so crossnote serve D:\notes
from a C: cwd breaks. Native paths are a supported input (the serve
CLI and the tests pass them), so a drive path is treated as a file path,
the way URI.file does. Inputs that already carry a scheme
(file:///…, untitled:…) and POSIX paths parse exactly as before.
Parse a
notebookPathargument. A native Windows path (C:\notes) parses its drive letter as the scheme (scheme: "C", path\notes) and silently drops it — the drive-relative remainder only works while the process cwd happens to share the drive, socrossnote serve D:\notesfrom aC:cwd breaks. Native paths are a supported input (the serve CLI and the tests pass them), so a drive path is treated as a file path, the wayURI.filedoes. Inputs that already carry a scheme (file:///…,untitled:…) and POSIX paths parse exactly as before.