discover

package
v0.331.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatApps

func FormatApps(apps []App) string

FormatApps returns a human-readable summary of discovered apps and files. Output is deterministic: groups are emitted in alphabetical order by type, and entries within each group preserve the input order. Without the sort, Go's randomised map iteration produced a different layout every call, which made operator-facing diff comparisons noisy and broke any caller doing a textual equality check on prior output.

Types

type App

type App struct {
	Name string `json:"name"`
	Path string `json:"path"`
	Type string `json:"type"`
}

func ScanApps

func ScanApps(f *flipper.Flipper) ([]App, error)

ScanApps discovers FAP applications and signal files on the Flipper SD card.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL