Skip to content

Commit

Permalink
Implement BN<FileSystem> family of APIs based on std::filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Nov 30, 2023
1 parent bf358ba commit 6d78cac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions binaryninjacore.h
Original file line number Diff line number Diff line change
Expand Up @@ -6307,8 +6307,8 @@ extern "C"
BINARYNINJACOREAPI void BNLlvmServicesAssembleFree(char* outBytes, char* err);

// Filesystem functionality
BINARYNINJACOREAPI int BNDeleteFile(const char* path);
BINARYNINJACOREAPI int BNDeleteDirectory(const char* path, int contentsOnly);
BINARYNINJACOREAPI bool BNDeleteFile(const char* path);
BINARYNINJACOREAPI bool BNDeleteDirectory(const char* path);
BINARYNINJACOREAPI bool BNCreateDirectory(const char* path, bool createSubdirectories);
BINARYNINJACOREAPI bool BNPathExists(const char* path);
BINARYNINJACOREAPI char* BNGetParentPath(const char* path);
Expand All @@ -6317,8 +6317,8 @@ extern "C"
BINARYNINJACOREAPI bool BNFileSize(const char* path, uint64_t* size);
BINARYNINJACOREAPI bool BNRenameFile(const char* source, const char* dest);
BINARYNINJACOREAPI bool BNCopyFile(const char* source, const char* dest);
BINARYNINJACOREAPI const char* BNGetFileName(const char* path);
BINARYNINJACOREAPI const char* BNGetFileExtension(const char* path);
BINARYNINJACOREAPI char* BNGetFileName(const char* path);
BINARYNINJACOREAPI char* BNGetFileExtension(const char* path);
BINARYNINJACOREAPI char** BNGetFilePathsInDirectory(const char* path, size_t* count);
BINARYNINJACOREAPI char* BNAppendPath(const char* path, const char* part);
BINARYNINJACOREAPI void BNFreePath(char* path);
Expand Down

0 comments on commit 6d78cac

Please sign in to comment.