zim-tools icon indicating copy to clipboard operation
zim-tools copied to clipboard

using filesystem read_link to test if sym link already created.

Open nickhuang99 opened this issue 8 months ago • 0 comments

  1. using std::filesystem's read_link.
  2. This is an improvement so only test when failure to avoid expensive system call.
  3. Hopefully this avoid race condition.

nickhuang99 avatar Jun 21 '24 16:06 nickhuang99