package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev
# Functions
Create creates a new file at a temporary path that will be renamed to the supplied path on close from a temporary file in the same directory, ensuring all data and the containing directory have been fsynced to disk.
CreateFile safely writes the contents of data to filePath, ensuring that all data has been fsynced as well as the containing directory of the file.