mirror of
https://github.com/joel16/VITA-Homebrew-Sorter.git
synced 2024-11-26 21:00:27 +00:00
19 lines
633 B
C++
19 lines
633 B
C++
#pragma once
|
|
|
|
#include <psp2/io/dirent.h>
|
|
#include <psp2/types.h>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace FS {
|
|
bool FileExists(const std::string &path);
|
|
bool DirExists(const std::string &path);
|
|
int CreateFile(const std::string &path);
|
|
int MakeDir(const std::string &path);
|
|
int WriteFile(const std::string &path, const void *data, SceSize size);
|
|
int RemoveFile(const std::string &path);
|
|
int CopyFile(const std::string &src_path, const std::string &dest_path);
|
|
std::string GetFileExt(const std::string &filename);
|
|
int GetDirList(const std::string &path, std::vector<SceIoDirent> &entries);
|
|
}
|