{"id":20743634,"url":"https://github.com/tobychui/gohidden","last_synced_at":"2025-04-24T05:43:32.450Z","repository":{"id":57628638,"uuid":"405295156","full_name":"tobychui/goHidden","owner":"tobychui","description":"Go module to set a hidden folder and check if a folder is hidden","archived":false,"fork":false,"pushed_at":"2021-09-12T04:13:17.000Z","size":7,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T05:43:26.761Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobychui.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}},"created_at":"2021-09-11T05:46:52.000Z","updated_at":"2024-02-20T23:20:25.000Z","dependencies_parsed_at":"2022-09-26T16:40:10.725Z","dependency_job_id":null,"html_url":"https://github.com/tobychui/goHidden","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobychui%2FgoHidden","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobychui%2FgoHidden/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobychui%2FgoHidden/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobychui%2FgoHidden/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobychui","download_url":"https://codeload.github.com/tobychui/goHidden/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573299,"owners_count":21452342,"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":"2024-11-17T07:12:16.766Z","updated_at":"2025-04-24T05:43:32.434Z","avatar_url":"https://github.com/tobychui.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goHidden\n[![Go Reference](https://pkg.go.dev/badge/github.com/tobychui/goHidden.svg)](https://pkg.go.dev/github.com/tobychui/goHidden)\n\nA Go module to set a folder hidden and check if a folder is hidden\n\nSupport Windows and Linux\n\n\n\n## Usage\n\n```\n//Hide a folder\nerr := hidden.HideFile(\"./test\")\nif err != nil {\n\tpanic(err)\n}\n\n//Check if a folder is hidden\nisHidden, err := hidden.IsHidden(\"./test\", false)\nif err != nil {\n\tpanic(err)\n}\n```\n\nYou can enable parent directories checking on ```IsHidden``` by passing \"true\" as the last parameter for ```IsHidden```. This will allow```IsHidden``` to check all the  upstream folders to see if the file is located inside a hidden folder. Set this to false for checking only the targeted file / folder.\n\n```\nhidden.HideFile(\"./test\")\nisHidden, _ := hidden.IsHidden(\"./test/myfile.txt\", true)\n//isHidden is true\n```\n\n\n\n## License\n\nMIT\n\n\n\n\n\n### \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobychui%2Fgohidden","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobychui%2Fgohidden","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobychui%2Fgohidden/lists"}