{"id":25936089,"url":"https://github.com/jojiiofficial/shred","last_synced_at":"2026-06-08T10:33:28.165Z","repository":{"id":57535890,"uuid":"252223656","full_name":"JojiiOfficial/shred","owner":"JojiiOfficial","description":"Shredder some files","archived":false,"fork":false,"pushed_at":"2020-04-09T12:58:22.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T13:31:33.585Z","etag":null,"topics":["golang","golang-module","library","shredder","shredding-files"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JojiiOfficial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-01T16:06:00.000Z","updated_at":"2023-02-25T13:41:20.000Z","dependencies_parsed_at":"2022-08-28T18:01:14.635Z","dependency_job_id":null,"html_url":"https://github.com/JojiiOfficial/shred","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2Fshred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2Fshred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2Fshred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2Fshred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JojiiOfficial","download_url":"https://codeload.github.com/JojiiOfficial/shred/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241768273,"owners_count":20017129,"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":["golang","golang-module","library","shredder","shredding-files"],"created_at":"2025-03-04T01:50:05.495Z","updated_at":"2026-06-08T10:33:28.123Z","avatar_url":"https://github.com/JojiiOfficial.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shred\n Package shred is a golang library to mimic the functionality of the linux `shred` command\n \n## Usage\n```golang\npackage main\nimport (\n  \"github.com/JojiiOfficial/shred\"\n)\n\nfunc main(){\n\tshredder := shred.Shredder{}\n\tshredconf := shred.NewShredderConf(\u0026shredder, shred.WriteRand|shred.WriteZeros, 1, false)\n\tshredconf.ShredFile(\"./10k\")\n\tshredconf.ShredDir(\"./toShredDir\")\n}\n```\n\n### Bench\n\nThose results depend on you hardware (cpu, memory, HardDrive)!\u003cbr\u003e\nBigFile: 1G\nNormalfile: 4k\n\n\n```bash\ngoos: linux\ngoarch: amd64\npkg: github.com/JojiiOfficial/shred\nBenchmarkShredderSecure-12       \t   33700\t     41533 ns/op\t   10096 B/op\t      11 allocs/op\nBenchmarkShredder-12             \t   27094\t     41833 ns/op\t   10096 B/op\t      11 allocs/op\nBenchmarkShredderBigSecure-12    \t       1\t1723832805 ns/op\t   10104 B/op\t      11 allocs/op\nBenchmarkShredderBig-12          \t       1\t2142966496 ns/op\t   10104 B/op\t      11 allocs/op\nPASS\nok  \tgithub.com/JojiiOfficial/shred\t7.213s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojiiofficial%2Fshred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojiiofficial%2Fshred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojiiofficial%2Fshred/lists"}