Stefin
b50fe88474
Added support for sending relative folder
2022-07-07 02:58:49 +05:30
Stefin
ee772c4cec
Added UnzipDirectory function
2022-07-07 00:05:56 +05:30
Stefin
f0f9b80bdf
added ZipDirectory function
2022-07-06 18:46:02 +05:30
Zack Scholl
b0e7d4d5df
fix tests
2022-02-03 08:45:50 -08:00
Zack Scholl
1d3c822ef3
allow remembering --internal-dns flag
2022-02-03 08:34:03 -08:00
voocel
b45e625298
fix hash file error
2022-01-06 17:44:43 +08:00
Zack
f210ef8877
Merge pull request #435 from AmeyShrivastava/fix-typos
...
Fix Typos
2021-11-17 10:52:29 -08:00
Amey Shrivastava
2964ede174
Fix Typos (revised)
...
This commit fixes spelling mistakes (typos) at a few places in the codebase.
(Includes requested corrections)
2021-11-17 23:50:32 +05:30
Eng Zer Jun
1645759742
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-17 11:39:11 +08:00
Zack Scholl
ab5ae5cbb6
add more benchmarks
2021-04-21 12:40:41 -07:00
Zack Scholl
d6af319ad8
fix tests
2021-04-20 15:48:13 -07:00
Zack Scholl
b655afb533
choose hash algorithm
2021-04-20 15:32:05 -07:00
Zack Scholl
0a0f7a03d7
update version
2021-04-17 10:33:38 -07:00
Zack Scholl
9231b1a661
update utils benchmark
2021-04-17 09:39:47 -07:00
Zack Scholl
628043b228
fix: do not use part of secret as room name
2021-04-16 08:13:43 -07:00
Tobias Dussa
876ce5764b
Transfer symlinks without touching their targets.
2021-04-15 17:07:23 +02:00
Marcus
d735cca970
Issue #306 , File Size Mismatch
...
Updated utils.go to use a `1024` grouping instead of `1000` for file
sizes. This brings it inline with the progress bar project being used.
Updated utils_test.go to match the changes to utils.go
2020-12-07 18:44:12 -06:00
Zack
3396743d73
allow proxying connection ( #283 )
2020-10-05 08:30:45 -07:00
fooofei
5a0ec9431f
fix resource leak of *os.File
2020-10-04 10:38:30 +08:00
Zack Scholl
78e4d5e179
add util to find open ports
2020-09-21 05:51:50 -07:00
masterZSH
f9f32a4b0e
Use hex.EncodeToString to encode to hex
2020-09-16 16:37:21 +08:00
Zack Scholl
345ef0567e
compute filename and deliver without overwriting
2020-09-05 17:23:07 -07:00
mathew
1b646d5528
Improve error reporting
2020-08-22 18:05:00 -05:00
Zack Scholl
0377223a67
fix tests: generate file in reproducible way #218
2020-05-18 07:20:51 -07:00
Zack Scholl
cc728a1138
fix minor bug
2019-09-08 06:07:53 -07:00
Zack Scholl
22f6a13a9f
add more tests
2019-09-07 10:31:18 -07:00
Zack Scholl
31c1a37b38
fix linting
2019-09-07 09:46:04 -07:00
Zack Scholl
6b288356b9
remove big file after testing
2019-05-12 13:09:10 -06:00
Zack
1f3d30c78e
Use relay as backup to find local ports ( #127 )
2019-05-03 13:51:27 -07:00
Zack Scholl
fef1c3ca3b
use imohash
2019-05-03 07:35:27 -07:00
Zack Scholl
9f9b93cf47
share chunk ranges instead of chunks Fixes #125
2019-05-03 07:30:35 -07:00
Zack Scholl
1802ebcd00
use imohash
2019-05-02 20:53:02 -07:00
Zack Scholl
aeb30ef187
use xxhash
2019-05-02 20:36:49 -07:00
Zack Scholl
711690a0f2
use imohash as default as its faster
2019-05-02 20:28:31 -07:00
Zack Scholl
962ea50aee
add back travis
2019-04-30 11:14:21 -06:00
Zack Scholl
04844cf72c
check if missing chunks file exists
2019-04-30 07:44:16 -07:00
Zack Scholl
6da93ae8da
allow resume
2019-04-30 07:29:02 -07:00
Zack Scholl
ac113dfe47
initial part works
2019-04-29 19:50:01 -07:00
Zack Scholl
a17f3096a0
no isclosed
2019-04-29 18:55:37 -07:00
Zack Scholl
ca0b898ca3
add tests
2019-04-29 17:24:37 -06:00
Zack Scholl
3685a887b8
add bytecountdecimal
2019-04-29 17:16:38 -06:00
Zack Scholl
dcc7689816
consolidate utils
2019-04-29 16:35:07 -06:00
Zack Scholl
384de31c5a
allow TCP connections as alternative
2018-09-23 18:00:00 -06:00
Zack Scholl
f3df177ba2
functions to get local/public IP
2018-09-23 18:00:00 -06:00
Zack Scholl
1add7e94c9
get receive code if empty
2018-09-22 11:57:04 -06:00
Zack Scholl
f3eb85dd95
add randome name
2018-09-22 11:57:04 -06:00
Zack Scholl
a225a08dbc
add exists
2018-09-22 11:57:04 -06:00
Zack Scholl
828f83601d
fix hash file
2018-09-21 21:13:46 -07:00
Zack Scholl
b9dad87526
completely rewrite
2018-09-21 20:17:57 -07:00