Removed old move logic, now passing move tests

The introduction of xored-globals required quite a bit of work to
integrate. But now that that is working, we can strip out the old move
logic.

It's worth noting that the xored-globals integration with commits is
relatively complex and subtle.
This commit is contained in:
Christopher Haster
2018-07-09 11:47:04 -05:00
parent 2ff32d2dfb
commit d7b0652936
2 changed files with 16 additions and 331 deletions

2
lfs.h
View File

@@ -107,7 +107,6 @@ enum lfs_type {
LFS_STRUCT_NAME = 0x041,
LFS_STRUCT_DELETE = 0x047,
LFS_STRUCT_MOVE = 0x046, // TODO rm me
LFS_STRUCT_TAIL = 0x081,
LFS_STRUCT_CRC = 0x087,
@@ -319,7 +318,6 @@ typedef struct lfs_mdir {
bool split;
lfs_globals_t globals;
bool stop_at_commit; // TODO hmmm
uint16_t moveid; // TODO rm me
} lfs_mdir_t;
typedef struct lfs_cache {