AuroraRuntime/Include/Aurora/IO/FS/Stat.hpp

29 lines
572 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Stat.hpp
Date: 2021-6-10
Author: Reece
***/
#pragma once
namespace Aurora::IO::FS
{
struct Stat
{
AU_COPY_MOVE_DEF(Stat);
bool exists;
bool existsFile, existsDirectory, existsSystemResource;
bool symLink;
AuInt64 created;
AuInt64 modified;
AuInt64 accessed;
AuUInt64 size;
};
/**
Classic file stat function
*/
AUKN_SYM bool StatFile(const AuString &path, Stat &stat);
}