Socket
Socket
Sign inDemoInstall

github.com/facebookgo/atomicfile

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/facebookgo/atomicfile

Package atomicfile provides the ability to write a file with an eventual rename on Close (using os.Rename). This allows for a file to always be in a consistent state and never represent an in-progress write. NOTE: `os.Rename` may not be atomic on your operating system.


Version published

Readme

Source

atomicfile Build Status

Documentation: https://godoc.org/github.com/facebookgo/atomicfile

NOTE: This package uses os.Rename, which may or may not be atomic on your operating system. It is known to not be atomic on Windows. https://github.com/natefinch/atomic provides a similar library that is atomic on Windows as well and may be worth investigating.

FAQs

Last updated on 19 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc