summaryrefslogtreecommitdiff
path: root/lsp-json.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-02-13 09:24:43 -0500
committerpommicket <pommicket@gmail.com>2024-02-13 09:24:43 -0500
commit6d85a7e605011d16018fdf202e40e59e2f916b63 (patch)
tree8ce9a180f24b0b2d5465475b199713589f96b68b /lsp-json.c
parent12622d7fd3f19936f2d235d8965491eb2adbae80 (diff)
better backups!
- they are now created with 600 permissions on unix to prevent leaking file contents to other users - they use the ~ suffix used by emacs etc for better compatibility with gitignores, etc. - we now call fdatasync / _commit to ensure that even if power goes out halfway through saving, no data can be lost
Diffstat (limited to 'lsp-json.c')
0 files changed, 0 insertions, 0 deletions