Commit Graph

39 Commits

Author SHA1 Message Date
a1lu 956598c427 Check $HOME as last 2024-03-30 23:24:52 +01:00
zx9597446 d724f11297 Here is the English translation:
If there are directories in a zip file compressed on the Windows platform, the "\\" in the filepath will cause the files to be extracted normally on Linux, and ls will show filenames containing single quotes.

So when compressing, I replace "\\" with "/" so that it seems there are no issues on both Windows and Linux.
2023-08-17 12:07:07 +08:00
Zack Scholl b3c0625659 localhost -> 127.0.0.1 Fixes #513 2023-03-20 09:16:07 -07:00
BayLee4 fae2e81b4a
Enhance tab completion 2023-03-15 10:03:38 +01:00
Tai Groot fa7ae114f5
run through gofumpt 2022-12-05 11:21:04 -08:00
Zack Scholl 0e93f1e285 println -> print os.stderr 2022-07-07 10:46:49 -07:00
Zack Scholl c6bcb79928 remove zip compression and add --zip to send command 2022-07-07 10:32:23 -07:00
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 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 b655afb533 choose hash algorithm 2021-04-20 15:32:05 -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 cc728a1138 fix minor bug 2019-09-08 06:07:53 -07:00
Zack Scholl 31c1a37b38 fix linting 2019-09-07 09:46:04 -07: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 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 3685a887b8 add bytecountdecimal 2019-04-29 17:16:38 -06:00
Zack Scholl dcc7689816 consolidate utils 2019-04-29 16:35:07 -06:00