mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
check_copy function
This commit is contained in:
parent
f7e06ded67
commit
a68ede6f2d
2 changed files with 25 additions and 1 deletions
|
@ -67,6 +67,9 @@ extern std::error_code rename_file(const std::string &from, const std::string &t
|
|||
// Copy a file, adjust the access attributes, so that the target is writable.
|
||||
extern int copy_file(const std::string &from, const std::string &to);
|
||||
|
||||
// Compares two files, returns 0 if identical.
|
||||
extern int check_copy(const std::string& origin, const std::string& copy);
|
||||
|
||||
// Ignore system and hidden files, which may be created by the DropBox synchronisation process.
|
||||
// https://github.com/prusa3d/PrusaSlicer/issues/1298
|
||||
extern bool is_plain_file(const boost::filesystem::directory_entry &path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue