AuroraRuntime/Include/Aurora/IO/FS/Stat.hpp
2021-06-27 22:25:29 +01:00

27 lines
539 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
{
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);
}