aboutsummaryrefslogtreecommitdiff
path: root/src/qt_common/util/fs.h
blob: 8f42beaaa3d146b4d6069152ec7fed6a4136be8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include <filesystem>
#include <optional>
#include "common/common_types.h"

namespace QtCommon::FS {

void LinkRyujinx(std::filesystem::path& from, std::filesystem::path& to);
const std::filesystem::path GetRyujinxSavePath(const std::filesystem::path& path_hint,
                                               const u64& program_id);

/// returns FALSE if the dirs are NOT linked
bool CheckUnlink(const std::filesystem::path& eden_dir, const std::filesystem::path& ryu_dir);

} // namespace QtCommon::FS