API is functional again after the dependency updates

This commit is contained in:
kdeng00
2020-02-02 20:32:09 -05:00
parent 57f76ee4a4
commit b067882c09
8 changed files with 187 additions and 22 deletions
+8 -1
View File
@@ -3,6 +3,7 @@
#include <string>
#include <string_view>
#include <filesystem>
#include <nlohmann/json.hpp>
@@ -12,7 +13,9 @@
namespace manager {
class DirectoryManager {
public:
static std::string createDirectoryProcess(model::Song, const std::string&);
DirectoryManager() = default;
static std::string createDirectoryProcess(const model::Song&, const std::string&);
static std::string createDirectoryProcess(const model::Song&,
const model::BinaryPath&, type::PathType);
static std::string configPath(std::string_view);
@@ -29,6 +32,10 @@ namespace manager {
void deleteCoverArtFile(const std::string&, const std::string&);
private:
std::filesystem::path relativeDiscSongPathFilesystem(const std::filesystem::path&,
const model::Song&);
std::string relativeDiscSongPath(const std::filesystem::path&, const model::Song&);
void deleteSong(const model::Song);
};
}