mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 17:31:33 +00:00
add new function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10665 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81a085a259
commit
7a312bc102
@ -87,6 +87,12 @@ bool MakeFileReadable(const std::string &Filename);
|
|||||||
long long getFileSize(const std::string &Filename);
|
long long getFileSize(const std::string &Filename);
|
||||||
|
|
||||||
|
|
||||||
|
/// getFileTimestamp - Get the last modified time for the specified file in an
|
||||||
|
/// unspecified format. This is useful to allow checking to see if a file was
|
||||||
|
/// updated since that last time the timestampt was aquired. If the file does
|
||||||
|
/// not exist or there is an error getting the time-stamp, zero is returned.
|
||||||
|
unsigned long long getFileTimestamp(const std::string &Filename);
|
||||||
|
|
||||||
|
|
||||||
/// FDHandle - Simple handle class to make sure a file descriptor gets closed
|
/// FDHandle - Simple handle class to make sure a file descriptor gets closed
|
||||||
/// when the object is destroyed. This handle acts similarly to an
|
/// when the object is destroyed. This handle acts similarly to an
|
||||||
|
@ -87,6 +87,12 @@ bool MakeFileReadable(const std::string &Filename);
|
|||||||
long long getFileSize(const std::string &Filename);
|
long long getFileSize(const std::string &Filename);
|
||||||
|
|
||||||
|
|
||||||
|
/// getFileTimestamp - Get the last modified time for the specified file in an
|
||||||
|
/// unspecified format. This is useful to allow checking to see if a file was
|
||||||
|
/// updated since that last time the timestampt was aquired. If the file does
|
||||||
|
/// not exist or there is an error getting the time-stamp, zero is returned.
|
||||||
|
unsigned long long getFileTimestamp(const std::string &Filename);
|
||||||
|
|
||||||
|
|
||||||
/// FDHandle - Simple handle class to make sure a file descriptor gets closed
|
/// FDHandle - Simple handle class to make sure a file descriptor gets closed
|
||||||
/// when the object is destroyed. This handle acts similarly to an
|
/// when the object is destroyed. This handle acts similarly to an
|
||||||
|
Loading…
x
Reference in New Issue
Block a user