{"id":22340023,"url":"https://github.com/mandelsoft/filepath","last_synced_at":"2025-07-30T00:31:25.595Z","repository":{"id":57541543,"uuid":"115250193","full_name":"mandelsoft/filepath","owner":"mandelsoft","description":"Go package for handling pathnames fixing severe problems of the original go package","archived":false,"fork":false,"pushed_at":"2024-02-23T09:06:53.000Z","size":808,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T22:02:11.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mandelsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-12-24T08:34:22.000Z","updated_at":"2022-05-03T09:51:06.000Z","dependencies_parsed_at":"2024-02-23T10:27:24.961Z","dependency_job_id":"4aaf3adf-25e9-4601-8d24-5101d4a13bd6","html_url":"https://github.com/mandelsoft/filepath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mandelsoft/filepath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandelsoft%2Ffilepath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandelsoft%2Ffilepath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandelsoft%2Ffilepath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandelsoft%2Ffilepath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mandelsoft","download_url":"https://codeload.github.com/mandelsoft/filepath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandelsoft%2Ffilepath/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267785731,"owners_count":24144119,"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-29T02:00:12.549Z","response_time":2574,"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-12-04T07:10:12.008Z","updated_at":"2025-07-30T00:31:25.186Z","avatar_url":"https://github.com/mandelsoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nPackage `filepath` implements utility routines for manipulating filename paths\nin a way compatible with the target operating system-defined file paths.\nIt is a modification of the original GO package `path/filepath` solving\nsevere errors in handling symbolic links.\n\nThe original package defines a function `Clean` that formally normalizes\na file path by eliminating `..` and `.` entries. This is done WITHOUT\nobserving the actual file system. Although this is no problem for\nthe function itself, because it is designed to do so, it becomes a severe\nproblem for the whole package, because nearly all functions internally use\n`Clean` to clean the path. As a consequence even functions like `Join` deliver\ncorrupted invalid results for valid inputs if the path incorporates\nsymbolic links to directories. Especially `EvalSymlinks` cannot be used\nto evaluate paths to existing files, because `Clean` is internally used to\nnormalize content of symbolic links.\n\nThis package provides a set of functions that do not hamper the meaning\nof path names keeping the rest of the original specification as far as\npossible. Additionally some new functions (like `Canonical`) or alternate\nversions of existing functions (like `Split2`) are provided\nthat offer a more useful specification than the original one.\n\n### NOTE:\nSo far, the windows operating system is NOT tested.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandelsoft%2Ffilepath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmandelsoft%2Ffilepath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandelsoft%2Ffilepath/lists"}