services/places/encrypted_places_io library

I/O operations for encrypted places data.

Copyright (C) 2026, Software Innovation Institute, ANU.

Licensed under the GNU General Public License, Version 3 (the "License").

License: https://opensource.org/license/gpl-3-0.

Authors: Miduo

Functions

ensureEncryptedPlacesDir(bool directoryVerified) Future<(bool, bool)>
Ensure the encrypted places directory exists. Uses persistent caching flag to avoid repeated server checks. Returns (success, dirCreated) tuple.
fetchEncryptedPlacesFromPod() Future<List<Place>>
Read encrypted places from Pod. Optimized: tries to read directly without checking existence first.
writeEncryptedPlacesToPod(List<Place> places, bool directoryVerified) Future<(bool, bool)>
Write encrypted places to Pod. Returns (success, dirCreated) tuple.