Commit 0796ce79 authored by Davis King's avatar Davis King

updated docs

parent 2f4e373b
...@@ -40,11 +40,13 @@ namespace dlib ...@@ -40,11 +40,13 @@ namespace dlib
state.name == name() state.name == name()
state.full_name == full_name() state.full_name == full_name()
state.file_size == size() state.file_size == size()
state.last_modified == last_modified()
CONVENTION CONVENTION
state.name == name() state.name == name()
state.full_name == full_name() state.full_name == full_name()
state.file_size == size() state.file_size == size()
state.last_modified == last_modified()
!*/ !*/
......
...@@ -49,11 +49,13 @@ namespace dlib ...@@ -49,11 +49,13 @@ namespace dlib
state.name == name() state.name == name()
state.full_name == full_name() state.full_name == full_name()
state.file_size == size() state.file_size == size()
state.last_modified == last_modified()
CONVENTION CONVENTION
state.name == name() state.name == name()
state.full_name == full_name() state.full_name == full_name()
state.file_size == size() state.file_size == size()
state.last_modified == last_modified()
!*/ !*/
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <vector> #include <vector>
#include "../uintn.h" #include "../uintn.h"
#include "../algs.h" #include "../algs.h"
#include <chrono>
namespace dlib namespace dlib
{ {
...@@ -139,6 +140,13 @@ namespace dlib ...@@ -139,6 +140,13 @@ namespace dlib
- returns the size of this file in bytes. - returns the size of this file in bytes.
!*/ !*/
std::chrono::time_point<std::chrono::system_clock> last_modified (
) const;
/*!
ensures
- returns the time the file was last modified.
!*/
operator std::string ( operator std::string (
) const; ) const;
/*! /*!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment