{"id":13502891,"url":"https://github.com/assert-rs/assert_fs","last_synced_at":"2026-04-02T02:09:45.271Z","repository":{"id":32484984,"uuid":"135149426","full_name":"assert-rs/assert_fs","owner":"assert-rs","description":"Filesystem fixtures and assertions.","archived":false,"fork":false,"pushed_at":"2026-03-12T17:00:37.000Z","size":398,"stargazers_count":123,"open_issues_count":10,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-15T05:29:23.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"docs.rs/assert_fs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/assert-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-28T11:03:21.000Z","updated_at":"2026-03-15T03:12:59.000Z","dependencies_parsed_at":"2024-01-02T01:05:17.701Z","dependency_job_id":"a6503e19-85f7-450b-9cfd-1278dde80970","html_url":"https://github.com/assert-rs/assert_fs","commit_stats":{"total_commits":198,"total_committers":9,"mean_commits":22.0,"dds":0.1515151515151515,"last_synced_commit":"c4b9389f93ca4ba23a6368a243fe177a4370bdf4"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/assert-rs/assert_fs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert-rs%2Fassert_fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert-rs%2Fassert_fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert-rs%2Fassert_fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert-rs%2Fassert_fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assert-rs","download_url":"https://codeload.github.com/assert-rs/assert_fs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert-rs%2Fassert_fs/sbom","scorecard":{"id":213074,"data":{"date":"2025-08-11","repo":{"name":"github.com/assert-rs/assert_fs","commit":"6c6f0bd5a7fe70de3e49f54f00585391f27cc412"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.3,"checks":[{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'checks' permission set to 'write': .github/workflows/audit.yml:42","Warn: jobLevel 'checks' permission set to 'write': .github/workflows/audit.yml:28","Info: found token with 'none' permissions: .github/workflows/ci.yml:24","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pre-commit.yml:22","Info: topLevel 'contents' permission set to 'read': .github/workflows/audit.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/committed.yml:7","Info: found token with 'none' permissions: .github/workflows/pre-commit.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/rust-next.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/spelling.yml:4"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/audit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/audit.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/audit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/audit.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:120: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:164: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:169: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:175: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:134: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:136: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:140: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:153: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/committed.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/committed.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/committed.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/committed.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/pre-commit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/pre-commit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/pre-commit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-next.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-next.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-next.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-next.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-next.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-next.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-next.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-next.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/rust-next.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/spelling.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/spelling.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/spelling.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/assert-rs/assert_fs/spelling.yml/master?enable=pin","Info:   0 out of  17 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  30 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-2rxc-gjrp-vjhx","Warn: Project is vulnerable to: RUSTSEC-2024-0404"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (28) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:07:00.329Z","repository_id":32484984,"created_at":"2025-08-17T01:07:00.330Z","updated_at":"2025-08-17T01:07:00.330Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30844342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-23T01:54:41.487Z","status":"online","status_checked_at":"2026-03-23T02:00:09.028Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:02:28.664Z","updated_at":"2026-04-02T02:09:45.263Z","avatar_url":"https://github.com/assert-rs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# assert_fs\n\n\u003e **Assert Filesystems** - Filesystem fixtures and assertions for testing.\n\n[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]\n![License](https://img.shields.io/crates/l/assert_fs.svg)\n[![Crates Status](https://img.shields.io/crates/v/assert_fs.svg)][Crates.io]\n\n`assert_fs` aims to simplify\n- Setting up files for your tests to consume\n- Asserting on files produced by your tests\n\n## Example\n\nHere is a trivial example:\n\n```rust\nuse assert_fs::prelude::*;\nuse predicates::prelude::*;\n\nlet temp = assert_fs::TempDir::new().unwrap();\nlet input_file = temp.child(\"foo.txt\");\ninput_file.touch().unwrap();\n// ... do something with input_file ...\ninput_file.assert(\"\");\ntemp.child(\"bar.txt\").assert(predicate::path::missing());\ntemp.close().unwrap();\n```\n\nSee the [documentation](https://docs.rs/assert_fs) for more information.\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttps://opensource.org/license/mit\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual-licensed as above, without any additional terms or\nconditions.\n\n[Crates.io]: https://crates.io/crates/assert_fs\n[Documentation]: https://docs.rs/assert_fs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassert-rs%2Fassert_fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassert-rs%2Fassert_fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassert-rs%2Fassert_fs/lists"}