tailscale/taildrop
Joe Tsai 975c5f7684
taildrop: lazily perform full deletion scan after first taildrop use (#10137)
Simply reading the taildrop directory can pop up security dialogs
on platforms like macOS. Avoid this by only performing garbage collection
of partial and deleted files after the first received taildrop file,
which would have prompted the security dialog window.

Updates tailscale/corp#14772

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2023-11-13 12:20:28 -06:00
..
delete.go taildrop: lazily perform full deletion scan after first taildrop use (#10137) 2023-11-13 12:20:28 -06:00
delete_test.go taildrop: lazily perform full deletion scan after first taildrop use (#10137) 2023-11-13 12:20:28 -06:00
resume.go taildrop: fix theoretical race condition in fileDeleter.Init (#9876) 2023-10-19 13:26:55 -07:00
resume_test.go taildrop: fix TestResume (#9874) 2023-10-18 18:07:30 -07:00
retrieve.go taildrop: fix theoretical race condition in fileDeleter.Init (#9876) 2023-10-19 13:26:55 -07:00
send.go taildrop: lazily perform full deletion scan after first taildrop use (#10137) 2023-11-13 12:20:28 -06:00
taildrop.go taildrop: lazily perform full deletion scan after first taildrop use (#10137) 2023-11-13 12:20:28 -06:00
taildrop_test.go taildrop: implement asynchronous file deletion (#9844) 2023-10-17 13:46:05 -07:00