ui/widgets/memory_panel library

Functions

formatRelativeTimeAgo(DateTime time) → String
getDisplayPath(String filePath) → String
Get display path (shorten home dir to ~).
getRelativeMemoryPath(String filePath) → String
Get a short relative display path for a memory file. Prefers ~/... or ./... notation, returns the shorter one.