{"id":23080073,"url":"https://github.com/kilianpaquier/filesystem","last_synced_at":"2025-08-15T22:30:41.244Z","repository":{"id":224178934,"uuid":"762640203","full_name":"kilianpaquier/filesystem","owner":"kilianpaquier","description":"Easily work around files and directories in golang","archived":false,"fork":false,"pushed_at":"2024-06-16T19:25:08.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-21T14:29:47.950Z","etag":null,"topics":["filesystem-library","golang"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/kilianpaquier/filesystem/pkg","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/kilianpaquier.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":"2024-02-24T09:20:08.000Z","updated_at":"2024-06-16T19:25:11.000Z","dependencies_parsed_at":"2024-03-11T19:47:33.335Z","dependency_job_id":"7c77b216-0d3b-4a50-b328-292b73443e5a","html_url":"https://github.com/kilianpaquier/filesystem","commit_stats":null,"previous_names":["kilianpaquier/filesystem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilianpaquier%2Ffilesystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilianpaquier%2Ffilesystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilianpaquier%2Ffilesystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilianpaquier%2Ffilesystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kilianpaquier","download_url":"https://codeload.github.com/kilianpaquier/filesystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229964407,"owners_count":18152034,"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":["filesystem-library","golang"],"created_at":"2024-12-16T13:04:21.275Z","updated_at":"2024-12-16T13:04:22.123Z","avatar_url":"https://github.com/kilianpaquier.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- This file is safe to edit. Once it exists it will not be overwritten. --\u003e\n\n# filesystem \u003c!-- omit in toc --\u003e\n\n**Archive note**: Use [craft fs package](https://github.com/kilianpaquier/craft/tree/main/pkg/fs) which is cleaned up and better maintained.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub Actions\" src=\"https://img.shields.io/github/actions/workflow/status/kilianpaquier/filesystem/integration.yml?branch=main\u0026style=for-the-badge\"\u003e\n  \u003cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/kilianpaquier/filesystem?include_prereleases\u0026sort=semver\u0026style=for-the-badge\"\u003e\n  \u003cimg alt=\"GitHub Issues\" src=\"https://img.shields.io/github/issues-raw/kilianpaquier/filesystem?style=for-the-badge\"\u003e\n  \u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/kilianpaquier/filesystem?style=for-the-badge\"\u003e\n  \u003cimg alt=\"Coverage\" src=\"https://img.shields.io/codecov/c/github/kilianpaquier/filesystem/main?style=for-the-badge\"\u003e\n  \u003cimg alt=\"Go Version\" src=\"https://img.shields.io/github/go-mod/go-version/kilianpaquier/filesystem/main?style=for-the-badge\u0026label=Go+Version\"\u003e\n  \u003cimg alt=\"Go Report Card\" src=\"https://goreportcard.com/badge/github.com/kilianpaquier/filesystem?style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n---\n\n- [How to use ?](#how-to-use-)\n- [Features](#features)\n\n## How to use ?\n\n```sh\ngo get -u github.com/kilianpaquier/filesystem@latest\n```\n\n## Features\n\nThe filesystem package exposes some useful function around files, for instance a simple function as `func Exists(src) bool` to verify a file existence easily.\n\nIt also exposes `CopyFile(src, dst) error` and `CopyFileWithPerm(src, dst, perm) error` which copy a given src file to dst with either specific permissions or not.\n\nIt also exposes `CopyDir(srcdir, destdir)` to copy a full directory at another place. The destination directory will be created if it doesn't already.\n\nThe package also exposes some constants around permissions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilianpaquier%2Ffilesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkilianpaquier%2Ffilesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilianpaquier%2Ffilesystem/lists"}