Enumerations | |
enum | DiffFlags { IGNORE_NONE = 0x0, IGNORE_LEADING = 0x1, IGNORE_TRAILING = 0x2, IGNORE_WHITESPACE = 0x4, IGNORE_BLANKLINES = 0x8, IGNORE_CASE = 0x10, IGNORE_NUMBERS = 0x20, IGNORE_NONNUMBERS = 0x40, IGNORE_PUNCTUATION = 0x80, IGNORE_AFTERDECIMAL = 0x100, IGNORE_CHARORDER = 0x200, IGNORE_LINEORDER = 0x400, IGNORE_EVERYTHING = 0x100000 } |
Functions | |
string | diff(string s1, string s2, int flags) |
bool | diffPass(string s1, string s2, int flags) |
bool | isDiffMatch(string diffs) |
Variables | |
const int | DIFF_DEFAULT_FLAGS = IGNORE_CASE | IGNORE_TRAILING | IGNORE_WHITESPACE | IGNORE_PUNCTUATION |
const int | DIFF_STRICT_FLAGS = IGNORE_TRAILING |
const string | NO_DIFFS_MESSAGE = "No differences found" |
enum DiffFlags |
string diff | ( | string | s1, |
string | s2, | ||
int | flags | ||
) |
bool diffPass | ( | string | s1, |
string | s2, | ||
int | flags | ||
) |
bool isDiffMatch | ( | string | diffs | ) |
const int DIFF_DEFAULT_FLAGS = IGNORE_CASE | IGNORE_TRAILING | IGNORE_WHITESPACE | IGNORE_PUNCTUATION |
const int DIFF_STRICT_FLAGS = IGNORE_TRAILING |
const string NO_DIFFS_MESSAGE = "No differences found" |