Mercurial > hg > octave-nkf
diff liboctave/file-stat.h @ 9748:d6b2b708b6b0
load-path: compare directory timestamps with tolerance
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 21 Oct 2009 09:51:58 -0400 |
parents | eb63fbe60fab |
children | 4c0cdbe0acca |
line wrap: on
line diff
--- a/liboctave/file-stat.h +++ b/liboctave/file-stat.h @@ -79,6 +79,15 @@ ~base_file_stat (void) { } + // The minimum difference in file time stamp values. + // FIXME -- this value should come from the filesystem itself. How + // can we get that info? + octave_time time_resolution (void) const + { + static octave_time resolution (1.0); + return resolution; + } + // File status and info. The is_XXX functions will return false for // file_stat objects that are not properly initialized. The others // should all return 0 (or the equivalent, for the given object)