mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -05:00
New .snapraidignore feature
This commit is contained in:
parent
6a912b4726
commit
36cef9ee89
52 changed files with 2278 additions and 158 deletions
|
|
@ -352,6 +352,15 @@ void pathcut(char* dst);
|
|||
*/
|
||||
int pathcmp(const char* a, const char* b);
|
||||
|
||||
/**
|
||||
* Check if the root is matching the start of the specified path.
|
||||
*
|
||||
* The root MUST end with a /.
|
||||
*
|
||||
* In Windows it's case insensitive and assumes \ equal at /.
|
||||
*/
|
||||
int path_is_root_of(const char* root, const char* path);
|
||||
|
||||
/****************************************************************************/
|
||||
/* file-system */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue