| 72 | } |
| 73 | |
| 74 | static bool get_relative_path(const char* spath, const char* filepath, |
| 75 | acl::string& rpath) |
| 76 | { |
| 77 | size_t n = strlen(spath); |
| 78 | if (strncmp(filepath, spath, n) != 0) |
| 79 | return false; |
| 80 | filepath += n; |
| 81 | if (*filepath == 0) |
| 82 | return false; |
| 83 | rpath = filepath; |
| 84 | return true; |
| 85 | } |
| 86 | |
| 87 | static bool compare_files(const char* sfile, const char* dfile, bool ignore) |
| 88 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…