{"id":69395,"library":"blang-vfs","title":"vfs","description":"Package vfs defines an abstract file system interface and provides various implementations.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/blang/vfs","tags":["filesystem","abstraction","virtual","utility"],"install":[{"cmd":"go get github.com/blang/vfs","lang":"bash","label":"Install github.com/blang/vfs"}],"dependencies":[],"imports":[{"symbol":"vfs","correct":"github.com/blang/vfs"}],"quickstart":{"code":"package main\n\nimport (\n    \"fmt\"\n    \"github.com/blang/vfs\"\n    \"github.com/blang/vfs/memfs\"\n)\n\nfunc main() {\n    fs := memfs.Create()\n    vfs.WriteFile(fs, \"/hello.txt\", []byte(\"Hello, World!\"), 0644)\n    data, _ := vfs.ReadFile(fs, \"/hello.txt\")\n    fmt.Println(string(data))\n}","lang":"go","description":"Create an in-memory filesystem and read/write files"},"warnings":[],"env_vars":null,"search_vec":"'abstract':6,15 'defin':4 'file':7 'filesystem':14 'implement':13 'interfac':9 'packag':2 'provid':11 'system':8 'util':17 'various':12 'vfs':1,3 'virtual':16","created_at":"2026-06-17T18:01:16.598608+00:00","updated_at":"2026-06-17T18:01:16.598608+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/blang/vfs","github":"https://github.com/blang/vfs","docs":"https://pkg.go.dev/github.com/blang/vfs#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}}