Expand description
Custom gio::ListModel backing the library grid.
Replaces the previous gio::ListStore-of-AssetObject mirror. The model
owns a Vec<AssetObject> reconciled from LibraryState.assets.
extend is used for append-pagination (server-side date sort lets us emit
a precise items_changed(prev_n, 0, added) so the visible viewport doesnโt
rebind); reset is used for source switches and client-side re-sorts.
Modulesยง
- imp ๐
Structsยง
- Library
Asset Model - GLib type: GObject with reference counted clone semantics.
Functionsยง
- asset_
dimensions ๐ - Pixel size from the asset, falling back to EXIF (where Immich often keeps it); 0 = unknown.
- build_
asset_ ๐objects - build_
sorted_ ๐asset_ objects