mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 14:17:56 +01:00
The fn.WriteFile writes data like os.WriteFile but in sync mode. Also adds a behaviour flag that enables removal of file on error. Co-authored-by: Maurice Poirrier Chuden <mauricepoirrier@gmail.com> Co-authored-by: Greg Weber <1183+gregwebs@users.noreply.github.com>
2.5 KiB
2.5 KiB