19 lines
No EOL
569 B
C++
19 lines
No EOL
569 B
C++
//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);
|
|
void WriteString(std::ofstream& file, std::string_view str);
|
|
void ReadString(std::ifstream& file, std::string& str);
|
|
std::uint16_t SeekString(std::ifstream& file);
|
|
} |