mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 17:21:20 +00:00
pathIsBaseName() added to utils.c
The function is used to test that the specified string looks like just as the basename of a path, without any absolute or relative path.
This commit is contained in:
@ -40,5 +40,6 @@ int string2ll(const char *s, size_t slen, long long *value);
|
||||
int string2l(const char *s, size_t slen, long *value);
|
||||
int d2string(char *buf, size_t len, double value);
|
||||
sds getAbsolutePath(char *filename);
|
||||
int pathIsBaseName(char *path);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user