{"id":19775330,"url":"https://github.com/tallesl/net-fresh","last_synced_at":"2025-10-10T07:33:00.853Z","repository":{"id":28401048,"uuid":"31915366","full_name":"tallesl/net-Fresh","owner":"tallesl","description":"Periodically cleans up a folder.","archived":false,"fork":false,"pushed_at":"2016-03-02T17:48:12.000Z","size":13,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T07:32:27.703Z","etag":null,"topics":["cleanup","csharp","directory","dot-net","folder","nuget","temporary"],"latest_commit_sha":null,"homepage":"","language":"C#","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/tallesl.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":"2015-03-09T18:29:48.000Z","updated_at":"2024-09-10T05:51:00.000Z","dependencies_parsed_at":"2022-09-03T15:52:12.339Z","dependency_job_id":null,"html_url":"https://github.com/tallesl/net-Fresh","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tallesl/net-Fresh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Fresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Fresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Fresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Fresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tallesl","download_url":"https://codeload.github.com/tallesl/net-Fresh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallesl%2Fnet-Fresh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003189,"owners_count":26083533,"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-10T02:00:06.843Z","response_time":62,"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":["cleanup","csharp","directory","dot-net","folder","nuget","temporary"],"created_at":"2024-11-12T05:15:40.685Z","updated_at":"2025-10-10T07:33:00.826Z","avatar_url":"https://github.com/tallesl.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fresh\n\n[![][build-img]][build]\n[![][nuget-img]][nuget]\n\nA .NET library that periodically cleans up a folder.\nUseful for cleaning up temporary files.\n\n[build]:     https://ci.appveyor.com/project/TallesL/net-fresh\n[build-img]: https://ci.appveyor.com/api/projects/status/github/tallesl/net-fresh?svg=true\n[nuget]:     https://www.nuget.org/packages/Fresh\n[nuget-img]: https://badge.fury.io/nu/Fresh.svg\n\n## Usage\n\n```cs\nusing FreshLibrary;\n\nvar cleaner = new FreshFolder(\"Temp\", TimeSpan.FromMinutes(30), TimeSpan.FromHours(2), FileTimestamps.Creation);\n```\n\nThis creates and starts a cleaner that, every `2` hours, deletes all files in `Temp` folder that have been `created`\nover `30` minutes ago.\nThe cleaner already starts its cleaning after its construction.\n\nRemember to `Dispose()` it when you're done.\nConsider disposing the cleaner on `Application_End` or [`ProcessExit`].\n\n[`ProcessExit`]: https://msdn.microsoft.com/library/System.AppDomain.ProcessExit","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallesl%2Fnet-fresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftallesl%2Fnet-fresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallesl%2Fnet-fresh/lists"}