Commit graph

82 commits

Author SHA1 Message Date
itchyny
5ee3f57dff initialize seed of the global random generator using unix timestamp
The algorithm for generating temporary paths is not cryptographically safe,
but this is enough in real situation.
2021-01-08 20:09:10 +09:00
itchyny
5ac7f7d75f use strconv.FormatUint with base 16 to generate temporary paths 2021-01-08 19:43:52 +09:00
itchyny
85ce23caff avoid fmt.Sprintf in error messages 2021-01-08 19:20:48 +09:00
itchyny
885b5d6aa0 report an error on failed to create a temporary path 2021-01-07 22:23:24 +09:00
itchyny
f208800bec improve comments 2021-01-07 22:12:34 +09:00
itchyny
dca2fae7c1 update copyright year in LICENSE 2021-01-07 21:55:25 +09:00
itchyny
4ce13f9e9e support directory renames (close #11)
- reject invalid renames (ex: move x x/x)
- move to a temporary path before any parent directory is moved
- rename in increasing destination directory depth order
2021-01-07 21:42:34 +09:00
itchyny
9e2bfa58df fix the version of actions 2020-12-30 21:55:22 +09:00
itchyny
de90991b35 fix links in CHANGELOG.md 2020-12-05 21:00:58 +09:00
itchyny
6be6420b38 bump up version to 0.1.2 2020-09-19 11:23:30 +09:00
itchyny
d86799e9b7 add CHANGELOG.md 2020-09-19 11:16:37 +09:00
itchyny
ec4f47cf17 include CREDITS file in artifacts 2020-09-19 10:57:00 +09:00
itchyny
8b1a6fae22 update dependencies 2020-09-19 10:55:44 +09:00
itchyny
0c6928a9dc update .gitignore 2020-09-18 19:54:18 +09:00
itchyny
87d6ba6a14 update badges in README.md 2020-09-18 19:53:46 +09:00
itchyny
485dd72d9e
Merge pull request #10 from tgfjt/master 2020-09-18 19:48:30 +09:00
Takashi Fujita
fce83774d2 fix to use strings.Fields to split 2020-09-18 19:40:02 +09:00
Takashi Fujita
e21be145b5 fix to pass EDITOR command with args 2020-09-15 15:54:16 +09:00
itchyny
f854148e5f use actions/checkout main 2020-08-16 00:45:44 +09:00
itchyny
a25a89e162 use t.Cleanup instead of defer 2020-08-14 01:31:47 +09:00
itchyny
cbe026840a remove dependency on github.com/stretchr/testify 2020-08-14 01:31:44 +09:00
itchyny
10d2c971a8 apply gofumpt 2020-08-14 01:16:58 +09:00
itchyny
c040426d6d remove clean from make all 2020-07-20 21:25:24 +09:00
itchyny
c0e9cd0f3d update CI triggers not to duplicate on pull requests 2020-05-07 15:46:56 +09:00
itchyny
e5da254c11 use actions/setup-go v2 2020-05-07 15:46:36 +09:00
itchyny
9b54f8bfac update gobump path 2020-01-24 21:36:45 +09:00
itchyny
fd22f52662 name all the steps in GitHub Actions 2020-01-16 20:45:38 +09:00
itchyny
b0bf7b16c3 use add-path for adding $GOPATH/bin to $PATH 2020-01-16 19:30:12 +09:00
itchyny
b9a4d40943 bump up version to 0.1.1 2020-01-09 21:39:27 +09:00
itchyny
407f4d2b0c
Merge pull request #6 from lunarxlark/master
fix typo
2020-01-09 17:52:08 +09:00
lunarxlark
fade350461 fix typo 2020-01-09 17:49:04 +09:00
itchyny
ec271f179b update feature list in README.md 2020-01-09 14:59:15 +09:00
itchyny
eab8aa1635 add a screenshot gif to README.md 2020-01-09 14:40:52 +09:00
itchyny
0ed17e263c undo the processed renames on error 2020-01-09 13:08:26 +09:00
itchyny
2a878af8f0 change error in tests to string 2020-01-09 13:02:51 +09:00
itchyny
42b640ffe3 test the file contents even on failure cases 2020-01-09 12:08:07 +09:00
itchyny
a4647e9205 return the stat error on failure 2020-01-09 12:07:26 +09:00
itchyny
0d1a97a09b bump up version to 0.1.0 2020-01-08 22:54:57 +09:00
itchyny
341929326a add instruction for installation with Homebrew 2020-01-08 22:53:45 +09:00
itchyny
168a6db008 change version flag to be long for now 2020-01-08 22:52:14 +09:00
itchyny
8d8f64a51c run lint only in Windows on CI 2020-01-08 21:40:48 +09:00
itchyny
0d04839f74 remove -u flag from installation instruction 2020-01-08 21:36:25 +09:00
itchyny
69e86775b6
Merge pull request #5 from mattn/fix-test-windows
Fix test for Windows
2020-01-08 21:35:52 +09:00
itchyny
c41de9a53d run CI on multiple OSs 2020-01-08 21:34:00 +09:00
Yasuhiro Matsumoto
51e509c280
Fix test for Windows 2020-01-08 19:38:53 +09:00
itchyny
4ca8bb541c tweak temporary directory name in tests 2020-01-08 19:00:08 +09:00
itchyny
6b66f8bcdb tweak the help for command arguments 2020-01-08 18:49:10 +09:00
itchyny
b4c17c6004
Merge pull request #4 from eihigh/fix_typo_README
fix typo in README
2020-01-08 16:42:26 +09:00
eihigh
5c8efc3b8b fix typo in README 2020-01-08 16:41:13 +09:00
itchyny
8197e82aaa create destination directory 2020-01-08 16:39:30 +09:00