{"id":53606,"library":"rboyer-safeio","title":"SafeIO","description":"Provides functions for atomic, fsync-safe disk operations.","status":"active","version":"0.2.3","language":"go","source_language":null,"source_url":"https://github.com/rboyer/safeio","tags":["atomic","fsync","disk","safe","io"],"install":[{"cmd":"go get github.com/rboyer/safeio","lang":"bash","label":"Install github.com/rboyer/safeio"}],"dependencies":[],"imports":[{"symbol":"safeio","correct":"github.com/rboyer/safeio"}],"quickstart":{"code":"package main\n\nimport \"github.com/rboyer/safeio\"\n\nfunc main() {\n\terr := safeio.WriteToFile([]byte(\"data\"), \"/tmp/file\", 0644)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}","lang":"go","description":"Atomically write data to a file with fsync."},"warnings":[],"env_vars":null,"search_vec":"'atom':5,11 'disk':9,13 'fsync':7,12 'fsync-saf':6 'function':3 'io':15 'oper':10 'provid':2 'safe':8,14 'safeio':1","created_at":"2026-06-15T07:46:46.526227+00:00","updated_at":"2026-06-15T07:46:46.526227+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rboyer/safeio","github":"https://github.com/rboyer/safeio","docs":"https://pkg.go.dev/github.com/rboyer/safeio#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}