Dietrich Epp
6b7a783916
Move extension patterns from code to data
...
GitOrigin-RevId: 2ea4f224f7f00bf7be5f73dd77c4ebe3d69f53ae
2021-03-26 03:47:55 -04:00
Dietrich Epp
79bca732c8
Convert resource files
...
GitOrigin-RevId: ee47a60e097c818def27f799dfd97c1396be2a68
2021-03-24 04:20:46 -04:00
Dietrich Epp
03ae6a672d
Refactor: Pass conversion mode to file converter
...
This is preparation for the resource fork converter.
GitOrigin-RevId: b50299047964e2d6d4a8b6ce3178639ac23f8d50
2021-03-24 04:20:46 -04:00
Dietrich Epp
910039b77a
Convert files incrementally
...
The previous implementation read the entire file into memory and then
processed it. This version uses reasonably-sized buffers and can handle
files of any size.
Since this new conversion code is a bit more complicated, a test suite
has been added which can be run on ordinary Unix systems.
GitOrigin-RevId: acc7be277103fad1da2d0ca16d1a84be11802fbf
2021-03-24 04:20:45 -04:00
Dietrich Epp
25055b63dc
Spin cursor during tool execution
...
GitOrigin-RevId: 3e081374ffbad7e8b5359892733c4b0463fc6a43
2021-03-24 04:20:45 -04:00
Dietrich Epp
d74cfbf9b1
Don't print progress when -quiet is specified
...
GitOrigin-RevId: de4cedd537717df4b68e18c2027f3ecad218cbbc
2021-03-19 14:27:28 -04:00
Dietrich Epp
a6ad0d0a96
Copy C++ files with SyncFiles
...
GitOrigin-RevId: e1b21d525476815ba8b10780eb2e69b57264a212
2021-03-17 21:05:19 -04:00
Dietrich Epp
da5a06e76e
Use temporary directory on correct volume
...
GitOrigin-RevId: eecf5d8df6a24aa2afa6fc115950b86235d06fb7
2021-03-17 21:05:18 -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
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