|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <memory>
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
|
#include <string_view>
|
|
|
|
#include <string_view>
|
|
|
|
@ -265,6 +266,10 @@ public:
|
|
|
|
// dest.
|
|
|
|
// dest.
|
|
|
|
virtual bool Copy(std::string_view src, std::string_view dest);
|
|
|
|
virtual bool Copy(std::string_view src, std::string_view dest);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Gets all of the entries directly in the directory (files and dirs), returning a map between
|
|
|
|
|
|
|
|
// item name -> type.
|
|
|
|
|
|
|
|
virtual std::map<std::string, VfsEntryType> GetEntries() const;
|
|
|
|
|
|
|
|
|
|
|
|
// Interprets the file with name file instead as a directory of type directory.
|
|
|
|
// Interprets the file with name file instead as a directory of type directory.
|
|
|
|
// The directory must have a constructor that takes a single argument of type
|
|
|
|
// The directory must have a constructor that takes a single argument of type
|
|
|
|
// std::shared_ptr<VfsFile>. Allows to reinterpret container files (i.e NCA, zip, XCI, etc) as a
|
|
|
|
// std::shared_ptr<VfsFile>. Allows to reinterpret container files (i.e NCA, zip, XCI, etc) as a
|
|
|
|
|