TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::FileEntry Struct Reference

A file or folder in a folder. More...

#include <gui_controls/gui_file_system.h>

Public Attributes

std::string name
bool isFolder = false
uint64_t size = 0
 bytes; 0 for a folder
std::filesystem::path disk
 The file or folder on the disk it is, or is a copy of; empty for one that's only in the file system (MemoryFileSystem::AddFile).
std::filesystem::file_time_type modified {}
 when the file on the disk was last written

Detailed Description

A file or folder in a folder.

Member Data Documentation

◆ name

std::string tachyon::FileEntry::name

◆ isFolder

bool tachyon::FileEntry::isFolder = false

◆ size

uint64_t tachyon::FileEntry::size = 0

bytes; 0 for a folder

◆ disk

std::filesystem::path tachyon::FileEntry::disk

The file or folder on the disk it is, or is a copy of; empty for one that's only in the file system (MemoryFileSystem::AddFile).

◆ modified

std::filesystem::file_time_type tachyon::FileEntry::modified {}

when the file on the disk was last written


The documentation for this struct was generated from the following file: