{"id":53883,"library":"ncw-directio","title":"DirectIO","description":"This library enables the use of Direct IO under all supported OSes of Go, bypassing the operating system's cache.","status":"active","version":"1.0.5","language":"go","source_language":null,"source_url":"https://github.com/ncw/directio","tags":["direct-io","storage","filesystem","performance"],"install":[{"cmd":"go get github.com/ncw/directio","lang":"bash","label":"Install github.com/ncw/directio"}],"dependencies":[],"imports":[{"symbol":"directio","correct":"github.com/ncw/directio"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/ncw/directio\"\n)\n\nfunc main() {\n\tblock := directio.AlignedBlock(4096)\n\tfmt.Println(\"Aligned block size:\", len(block))\n}","lang":"go","description":"Allocates an aligned block of memory for Direct IO operations."},"warnings":[],"env_vars":null,"search_vec":"'bypass':16 'cach':21 'direct':8,23 'direct-io':22 'directio':1 'enabl':4 'filesystem':26 'go':15 'io':9,24 'librari':3 'oper':18 'ose':13 'perform':27 'storag':25 'support':12 'system':19 'use':6","created_at":"2026-06-15T07:59:01.683775+00:00","updated_at":"2026-06-15T07:59:01.683775+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/ncw/directio","github":"https://github.com/ncw/directio","docs":"https://pkg.go.dev/github.com/ncw/directio#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"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}}