{"id":16754702,"url":"https://github.com/evilpie/filepath","last_synced_at":"2025-07-23T14:07:45.825Z","repository":{"id":32810891,"uuid":"143290434","full_name":"evilpie/filepath","owner":"evilpie","description":"Get the filesystem path of a file","archived":false,"fork":false,"pushed_at":"2024-12-27T11:56:00.000Z","size":24,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T01:31:14.974Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","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/evilpie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-02T12:15:57.000Z","updated_at":"2025-03-16T01:19:29.000Z","dependencies_parsed_at":"2022-08-08T14:30:20.303Z","dependency_job_id":null,"html_url":"https://github.com/evilpie/filepath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evilpie/filepath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilpie%2Ffilepath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilpie%2Ffilepath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilpie%2Ffilepath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilpie%2Ffilepath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evilpie","download_url":"https://codeload.github.com/evilpie/filepath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilpie%2Ffilepath/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266691580,"owners_count":23969182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["rust"],"created_at":"2024-10-13T03:05:40.121Z","updated_at":"2025-07-23T14:07:45.802Z","avatar_url":"https://github.com/evilpie.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# filepath\n\nGet the filesystem path of a file.\n\n[![](https://docs.rs/filepath/badge.svg)](https://docs.rs/filepath/) [![](http://meritbadge.herokuapp.com/filepath) ![](https://img.shields.io/crates/d/filepath.png)](https://crates.io/crates/filepath)\n\nA simple extension trait for `File` that provides a single method `path`, which returns the path of a file.\n\n**Note**: Not every file has a path. The path might be wrong for example after moving a file.\n\nOS support: Linux, Mac, Windows and iOS\n\n```rust\nuse std::fs::File;\nuse filepath::FilePath;\n\nlet mut file = File::create(\"foo.txt\").unwrap();\nprintln!(\"{:?}\", file.path());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilpie%2Ffilepath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilpie%2Ffilepath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilpie%2Ffilepath/lists"}