27 lines
539 B
C++
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);
|
|
} |