mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 07:16:56 +08:00
Added functions to filesystem header
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
@@ -26,6 +27,9 @@ namespace alpr
|
||||
|
||||
std::string filenameWithoutExtension(std::string filename);
|
||||
|
||||
long getFileSize(std::string filename);
|
||||
long getFileCreationTime(std::string filename);
|
||||
|
||||
bool DirectoryExists( const char* pzPath );
|
||||
bool fileExists( const char* pzPath );
|
||||
std::vector<std::string> getFilesInDir(const char* dirPath);
|
||||
|
Reference in New Issue
Block a user