#include "pathsys.h"
#include "timestamp.h"
+#include <string>
+
typedef struct file_info_t
{
void file_supported_fmt_resolution( timestamp * const );
int file_time( OBJECT * const path, timestamp * const );
+namespace b2 { namespace filesys {
+
+ inline bool is_file(const std::string &path)
+ {
+ OBJECT * path_o = object_new(path.c_str());
+ bool result = file_is_file(path_o) == 1;
+ object_free(path_o);
+ return result;
+ }
+
+}}
+
/* Archive/library file support */
file_archive_info_t * file_archive_info( OBJECT * const path, int * found );