Commit Graph

69 Commits

Author SHA1 Message Date
Dietrich Epp
d0cbe697d9 Fix UTF-8 to Macintosh charset conversion
GitOrigin-RevId: f0d7fbd465cb5955be3bbde135801e1fd9701e33
2021-03-17 21:05:19 -04:00
Dietrich Epp
1315f49c1e Add flags for debugging charset conversion tables
GitOrigin-RevId: d993358c037d8edd00d5819cac852c7822a89d3f
2021-03-17 21:05:18 -04:00
Dietrich Epp
da5a06e76e Use temporary directory on correct volume
GitOrigin-RevId: eecf5d8df6a24aa2afa6fc115950b86235d06fb7
2021-03-17 21:05:18 -04:00
Dietrich Epp
28e378fffb Fix incorrect types for vRefNum and parID
GitOrigin-RevId: 04b016cb9a491a9c6ffc5f1e4df0bdc49f349ecb
2021-03-17 21:05:18 -04:00
Dietrich Epp
a13293fc92 Only move and rename as necessary
GitOrigin-RevId: e3af6ccfdfa3fdb840b745afd225f270ea6c4070
2021-03-17 21:05:18 -04:00
Dietrich Epp
ff6149d125 Handle case where temporary file exists
GitOrigin-RevId: 029ce369a00c5f18bc50174eb4fde677b4984f1b
2021-03-17 21:05:17 -04:00
Dietrich Epp
4e0d9b16c7 Refactor SyncFiles
- Split into multiple source files
- Create new file action enum
- Push or pull must be explicit

GitOrigin-RevId: c6ccd85f1452a1333a1deb3495792451a0b8f860
2021-03-17 21:05:17 -04:00
Dietrich Epp
a207eb6bd2 Begin SyncFiles pull implementation
GitOrigin-RevId: 6cb8d8cec6ca7d0edb055e139f6e8b05512aa4ec
2021-03-17 21:01:04 -04:00
Dietrich Epp
9945fc0383 Add generator for UTF-8 to Macintosh tables
GitOrigin-RevId: 96f2909330b94c895688bfa2f5b50c3e4408fe54
2021-03-17 21:01:04 -04:00
Dietrich Epp
fbe60364fe Fix volume for temporary files
GitOrigin-RevId: cde5591cac6bb2060fb277c9400989252120e8a1
2021-03-17 21:01:03 -04:00
Dietrich Epp
94e38f1274 Expand verbose logging messages
GitOrigin-RevId: 893875a88e0e8f0b15f05f9ea12fefbbb3fa65c6
2021-03-17 21:01:03 -04:00
Dietrich Epp
da194b749b Add -verbose flag to SyncFiles
GitOrigin-RevId: b9f0310b4a55d45fa4b0b305d3934b1bc5f8ac48
2021-03-17 21:01:03 -04:00
Dietrich Epp
b1a85945d7 Copy files to destination directory
GitOrigin-RevId: 34f4a68c4aa26def783f1192a26768b4393ed087
2021-03-17 21:01:03 -04:00
Dietrich Epp
1264148f6d Add error handling helper functions
GitOrigin-RevId: 9cfe2133b3494b0a676e5d1ee4fac11562eb18d0
2021-03-17 21:01:02 -04:00
Dietrich Epp
00d3419f62 Join source and dest files
GitOrigin-RevId: cc2aaa3abdbdcb45ed189ed4ea7d3e37f7641408
2021-03-17 21:01:02 -04:00
Dietrich Epp
9e75a993fc List files in source and dest directories
GitOrigin-RevId: 3c8cc5ea073234501452fe2cfb9c0c133f7d83a8
2021-03-17 21:01:02 -04:00
Dietrich Epp
cce3f39184 Clang format
GitOrigin-RevId: 90772439cd008f07b4ead07f68dacf9594eb9d0e
2021-03-17 21:01:02 -04:00
Dietrich Epp
bd293bb3dd List files in directory from sync tool
GitOrigin-RevId: 738baa6a94ac864f121167798e4ea93f95d1c420
2021-03-17 21:01:02 -04:00
Dietrich Epp
fa2f0d12a0 Add Mac OS sync tool
GitOrigin-RevId: 2f0f21e037dd7c00fffd0827e80438a5de1968d7
2021-03-17 21:01:01 -04:00