MCPcopy Create free account
hub / github.com/dfranx/ImFileDialog / FileTreeNode

Class FileTreeNode

ImFileDialog.h:53–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 std::function<void(void*)> DeleteTexture;
52
53 class FileTreeNode {
54 public:
55#ifdef _WIN32
56 FileTreeNode(const std::wstring& path) {
57 Path = std::filesystem::path(path);
58 Read = false;
59 }
60#endif
61
62 FileTreeNode(const std::string& path) {
63 Path = std::filesystem::u8path(path);
64 Read = false;
65 }
66
67 std::filesystem::path Path;
68 bool Read;
69 std::vector<FileTreeNode*> Children;
70 };
71 class FileData {
72 public:
73 FileData(const std::filesystem::path& path);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected