Commit Graph
6 Commits
Author SHA1 Message Date
Rafał Cieślak 4feff21158 lib/utils/fs.go: Do not remove lockfiles on Windows (#21655)
* lib/utils/fs.go: Do not remove lockfiles on Windows

* Remove unused import from fs_windows.go
2023-02-13 15:55:08 +00:00
Anton Miniailo 7695f23cb4 Fix known_hosts locking by refactoring our locks in utils/fs (#16364)
* Refactor our `utils/fs` locking to use `flock`
library and add support for windows.

Flock works differently on linx/mac vs windows. On windows it's impossible to
read/write file after locking, so we need to create separate lockfile.
2022-09-15 12:07:40 -04:00
Zac Bergquist 0bae0d255f Cleanup lint targets
- Don't assume an explicit $GOPATH is set
- Remove golint from linters - it's been deprecated for over a year
  and golangci-lint prints a warning instead of running it.
2021-10-19 09:21:55 -06:00
Sasha Klizhentas c1b1c6a154 Improves logging and error handling in filesessions.
Adds chaos tests for async file upload.

Fixes playback for legacy sessions stored unpacked on disk
2020-10-06 13:41:17 -07:00
Russell Jones 87fe7a397d Added tsh for Windows. 2018-08-03 11:06:08 -07:00
Justin Gerace 7cfc78bafc Add Windows-specific code to enable building on Windows 2018-08-03 11:06:08 -07:00