{"id":25498432,"url":"https://github.com/pkg6/archive","last_synced_at":"2025-11-11T08:30:18.697Z","repository":{"id":276429112,"uuid":"929258694","full_name":"pkg6/archive","owner":"pkg6","description":"A simple Go archiving library.","archived":false,"fork":false,"pushed_at":"2025-02-08T06:26:29.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-08T07:24:39.171Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkg6.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}},"created_at":"2025-02-08T05:53:18.000Z","updated_at":"2025-02-08T06:25:52.000Z","dependencies_parsed_at":"2025-02-08T07:24:50.874Z","dependency_job_id":null,"html_url":"https://github.com/pkg6/archive","commit_stats":null,"previous_names":["pkg6/archive"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Farchive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Farchive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Farchive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Farchive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkg6","download_url":"https://codeload.github.com/pkg6/archive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587220,"owners_count":19663892,"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","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-02-19T02:54:03.872Z","updated_at":"2025-11-11T08:30:18.666Z","avatar_url":"https://github.com/pkg6.png","language":"Go","readme":"## archive\nA simple Go archiving library.\n\n## Example usage\n\n~~~\npackage main\n\nimport (\n\t\"github.com/pkg6/archive\"\n\t\"log\"\n\t\"os\"\n)\n\nfunc main() {\n\tfile, err := os.Create(\"file.zip\")\n\tif err != nil {\n\t\t// deal with the error\n\t}\n\tzip, err := archive.New(file, \"zip\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer zip.Close()\n\tzip.Add(archive.File{\n\t\tDestination: \"file.txt\",\n\t\tSource:      \"/path/to/file.txt\",\n\t})\n}\n~~~\n\n## Support compression format\n\n- tar.gz\n- tgz\n- tar\n- gz\n- tar.xz\n- txz\n- tar.zst\n- tzst\n- zip\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkg6%2Farchive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkg6%2Farchive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkg6%2Farchive/lists"}