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