Skip to main content

encode_installed_entry

Function encode_installed_entry 

Source
pub fn encode_installed_entry(entry: &InstalledPath) -> String
Expand description

What: One created entry as its JSON object, with the incumbent’s key order. Why: The install log and the journal share this spelling, so both wrappers read either.

In TS you’d write (pseudocode):

JSON.stringify({ device, inode, relativePath, selected })