diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-02-27 22:09:36 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-03 20:23:50 +0200 |
| commit | ccef1c9dc22b07398970f26eb9fd3be669db7734 (patch) | |
| tree | 9f201c3eacac3a70a3a3a2529ccd4aaec640eee2 /src/fileops.h | |
| parent | da7c3c71c0cc3a2d5408a7e9885ae8a1b3b928ef (diff) | |
| download | libgit2-ccef1c9dc22b07398970f26eb9fd3be669db7734.tar.gz | |
Move the path comparison method to fileops.c
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h index d333805d9..16e71038b 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -131,6 +131,10 @@ extern int gitfo_write_cached(gitfo_cache *ioc, void *buf, size_t len); extern int gitfo_flush_cached(gitfo_cache *ioc); extern int gitfo_close_cached(gitfo_cache *ioc); + +extern int gitfo_cmp_path(const char *name1, int len1, int isdir1, + const char *name2, int len2, int isdir2); + /** * Clean up a provided absolute or relative directory path. * |
