netradiant-custom/libs/os
Walter Doekes dd81a7f0d7
Do not move symlinks when saving a map, overwrite target instead
If the user is editing a symlink to a target instead of a real file,
chances are high they want the symlink to stay in place.

Precondition:

  some.map -> /path/to/elsewhere.map

After save (before):

  some.bak -> /path/to/elsewhere.map
  some.map (real file)

After save (after):

  some.map -> /path/to/elsewhere.map

Closes #107.
2022-08-27 16:03:40 +02:00
..
dir.h use #pragma once 2021-10-22 02:19:50 +03:00
file.h Do not move symlinks when saving a map, overwrite target instead 2022-08-27 16:03:40 +02:00
path.h replace ArrayRange by tcb::span (reproduction of std::span) 2021-10-24 08:32:10 +03:00