{"id":32520851,"url":"https://github.com/candango/fsok","last_synced_at":"2025-10-28T05:52:03.575Z","repository":{"id":319974263,"uuid":"1080279080","full_name":"candango/fsok","owner":"candango","description":"Go library to help handle file and directory operations better.","archived":false,"fork":false,"pushed_at":"2025-10-21T07:17:30.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-21T09:13:43.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/candango.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-21T06:20:08.000Z","updated_at":"2025-10-21T07:17:34.000Z","dependencies_parsed_at":"2025-10-21T09:13:54.255Z","dependency_job_id":"33f84b6b-8371-4457-86ea-842032339578","html_url":"https://github.com/candango/fsok","commit_stats":null,"previous_names":["candango/fsok"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/candango/fsok","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candango%2Ffsok","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candango%2Ffsok/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candango%2Ffsok/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candango%2Ffsok/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/candango","download_url":"https://codeload.github.com/candango/fsok/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candango%2Ffsok/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281391766,"owners_count":26492903,"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-10-28T02:00:06.022Z","response_time":60,"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":"2025-10-28T05:52:02.719Z","updated_at":"2025-10-28T05:52:03.568Z","avatar_url":"https://github.com/candango.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Candango fsok\n\nCandango **fsok** is a Go library designed to make file and directory\noperations simple, reliable, and idiomatic. It provides helpers for common\ntasks such as checking existence, copying directories, and working with files —\nall with Go best practices in mind.\n\n## Installation\n\nUse `go get` to install:\n\n```sh\ngo get github.com/candango/fsok\n```\n\nThen import in your code:\n\n```go\nimport \"github.com/candango/fsok\"\n```\n\n## Usage\n\n### Check if a directory exists\n\n```go\nimport \"github.com/candango/fsok/dir\"\n\nif dir.Exists(\"/tmp/mydir\") {\n    // Directory exists\n}\n```\n\n### Copy all contents of a directory\n\n```go\nimport \"github.com/candango/fsok/dir\"\n\nerr := dir.CopyAll(\"source\", \"destination\")\nif err != nil {\n    log.Fatal(err)\n}\n```\n\n### Check if a file exists\n\n```go\nimport \"github.com/candango/fsok/file\"\n\nif file.Exists(\"myfile.txt\") {\n    // File exists\n}\n```\n\n## Contributing\n\nContributions are welcome! Please open issues or pull requests on GitHub.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandango%2Ffsok","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandango%2Ffsok","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandango%2Ffsok/lists"}