// SPDX-License-Identifier: LGPL-3.0-only // SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® export module Nostro:File; import std; namespace fs = std::filesystem; export namespace Nostro { fs::path GetConfigPath(); fs::path GetCachePath(); fs::path configPath = GetConfigPath(); fs::path cachePath = GetCachePath(); void CreatePrivateFile(const fs::path& path); // A line from stdin, trimmed. On a terminal the prompt goes to stderr and what is typed is not echoed, so a key // never sits in the shell's history or in the process's command line. Throws when stdin ends first. std::string ReadSecret(std::string_view prompt); }