diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-10-04 15:24:26 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-10-04 18:15:59 +0200 |
| commit | 9001c82c6004d87d95bc9007bf195489635f5e83 (patch) | |
| tree | b703b2a2cda8fe828e0842aa5c81c72fd4d96451 /src/common.rs | |
| parent | 68bd2441247a5785378c9e90c5dc0ce7330e23b5 (diff) | |
Fix reverse log reader, add unit tests for it
Diffstat (limited to 'src/common.rs')
| -rw-r--r-- | src/common.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.rs b/src/common.rs index c4fce39..9ea43aa 100644 --- a/src/common.rs +++ b/src/common.rs @@ -15,6 +15,7 @@ pub const EXCL_LOCK_REQUEST_FILENAME: &str = "excl_lock_req"; pub const DEFAULT_READ_BUF_SIZE: usize = 1024 * 1024; // 1 MB pub const FIELD_SEPARATOR: u8 = b'\x1C'; pub const ESCAPE_CHARACTER: u8 = b'\x1D'; +pub const TEST_RESOURCES_DIR: &str = "tests/resources"; // Special sequences. Note: these must have the same length! // Since the log is read both forwards and backwards, we must have a signal |
