{"id":62686,"library":"detailyang-go-fallocate","title":"go-fallocate","description":"Go binding for fallocate syscall to preallocate disk space.","status":"active","version":"0.0.0-20180908115635-432fa640bd2e","language":"go","source_language":null,"source_url":"https://github.com/detailyang/go-fallocate","tags":["filesystem","fallocate","disk","syscall"],"install":[{"cmd":"go get github.com/detailyang/go-fallocate","lang":"bash","label":"Install github.com/detailyang/go-fallocate"}],"dependencies":[],"imports":[{"symbol":"fallocate","correct":"github.com/detailyang/go-fallocate"}],"quickstart":{"code":"package main\n\nimport (\n\t\"os\"\n\t\"github.com/detailyang/go-fallocate\"\n)\n\nfunc main() {\n\tf, _ := os.Create(\"file.dat\")\n\tdefer f.Close()\n\tfallocate.Fallocate(f, 0, 0, 1024*1024)\n}","lang":"go","description":"Preallocates 1 MB of disk space for a file."},"warnings":[],"env_vars":null,"search_vec":"'bind':5 'disk':11,15 'falloc':3,7,14 'filesystem':13 'go':2,4 'go-falloc':1 'prealloc':10 'space':12 'syscal':8,16","created_at":"2026-06-17T16:34:27.194004+00:00","updated_at":"2026-06-17T16:34:27.194004+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/detailyang/go-fallocate","github":"https://github.com/detailyang/go-fallocate","docs":"https://pkg.go.dev/github.com/detailyang/go-fallocate#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-17","next_check":"2026-12-14","install_tag":null}}