{"adoption": {"forks": 570, "observed_at": "2026-08-28T04:09:47.754327+00:00", "stars": 6692}, "canonical_url": "https://ross.abutalabs.com/products/afero", "card": {"archived": false, "artifact_type": "library", "description": "The Universal Filesystem Abstraction for Go", "domain": ["developer-tools", "files", "testing"], "enriched": true, "function": ["file-system", "testing", "mocking"], "health_score": 94, "homepage": null, "language": "Go", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["spf13/afero"], "name": "spf13/afero", "platform": ["go", "cross-platform"], "pushed_at": "2026-08-14T20:03:21+00:00", "repo": "spf13/afero", "stars": 6692, "tags": ["filesystem-abstraction", "vfs", "in-memory-filesystem", "drop-in-replacement", "os-package"], "topics": ["compression", "filesystem", "fs", "go", "golang", "network-file-system", "network-file-transfer", "vfs", "virtual"], "urls": [], "use_cases": ["mock the filesystem in Go unit tests", "swap file storage backends without changing application code", "sandbox file access to a subdirectory", "cache reads from a slow network filesystem", "read and write files inside zip or tar archives", "make Go code portable across local, cloud, and remote storage"], "what_it_is": "Afero is a filesystem abstraction library for Go that provides a universal interface over multiple storage backends, including local disk, in-memory, archives, and remote systems. It acts as a drop-in replacement for the standard os package, enabling easy testing and composable filesystem layers like caching, sandboxing, and path restriction.", "when_to_avoid": ["you only ever touch the local disk and never test file logic", "you need a POSIX-compliant full filesystem implementation", "your code depends on os-specific features outside the abstraction"], "when_to_choose": ["you need fast, isolated filesystem tests without touching disk", "you want to abstract storage backends behind one interface", "you need layered filesystem behaviors like copy-on-write or caching", "you want os-package-compatible file APIs with io/fs support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/afero", "repo": "spf13/afero", "role": "main", "score": 76}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:47.754327+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:42:58.889049+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c6ed3a76fd30b14b0cd996726787795e641645e0f6c96d575815cd627b3cc1d", "fetched_at": "2026-08-28T04:09:47.754327+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spf13/afero"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4327, "days_push": 19, "days_rel": 359, "gap_med": 64, "n_releases_24m": 4}, "score": 76, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}