IceWhaleTech/CasaOS
View on GitHub ↗
Internal86
Unique within the repo — the other 14% repeats across its own files.
Public60
Unique across all public code — a further 26% is its own but appears in other public repos too.
Tidy, but not new — the code doesn't repeat itself, yet a large share already exists across other public repos. A strong candidate for pulling from (or publishing as) a shared package.
Worth consolidating — in the code
Real, actionable duplication in this repo's source, most concrete first.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 41% | 131 | IceWhaleTech/CasaOS/drivers/dropbox/drive.go |
IceWhaleTech/CasaOS/drivers/google_drive/drive.go |
same repo |
| 36% | 126 | IceWhaleTech/CasaOS/drivers/dropbox/util.go |
IceWhaleTech/CasaOS/drivers/google_drive/util.go |
same repo |
| 8% | 124 | IceWhaleTech/CasaOS/route/v1/file.go |
IceWhaleTech/CasaOS/route/v2.go |
same repo |
| 31% | 120 | IceWhaleTech/CasaOS/drivers/google_drive/util.go |
IceWhaleTech/CasaOS/drivers/onedrive/util.go |
same repo |
| 19% | 119 | IceWhaleTech/CasaOS/route/v1.go |
IceWhaleTech/CasaOS/route/v2.go |
same repo |
| 5% | 103 | IceWhaleTech/CasaOS/pkg/utils/file/file.go |
IceWhaleTech/CasaOS/route/v1/file.go |
same repo |
| 34% | 102 | IceWhaleTech/CasaOS/drivers/dropbox/util.go |
IceWhaleTech/CasaOS/drivers/onedrive/util.go |
same repo |
| 6% | 90 | IceWhaleTech/CasaOS/route/v1/file.go |
IceWhaleTech/CasaOS/route/v1/samba.go |
same repo |
| 6% | 90 | IceWhaleTech/CasaOS/route/v1/file.go |
IceWhaleTech/CasaOS/route/v1/system.go |
same repo |
| 16% | 87 | IceWhaleTech/CasaOS/route/periodical.go |
IceWhaleTech/CasaOS/route/v1/system.go |
same repo |
| 71% | 82 | IceWhaleTech/CasaOS/.goreleaser.debug.yaml |
IceWhaleTech/CasaOS/.goreleaser.yaml |
same repo |
| 17% | 81 | IceWhaleTech/CasaOS/drivers/google_drive/drive.go |
IceWhaleTech/CasaOS/drivers/google_drive/util.go |
same repo |
| 19% | 79 | IceWhaleTech/CasaOS/route/init.go |
IceWhaleTech/CasaOS/route/v1/samba.go |
same repo |
| 5% | 69 | IceWhaleTech/CasaOS/pkg/generic_sync/generic_sync.go |
IceWhaleTech/CasaOS/pkg/singleflight/singleflight.go |
same repo |
| 5% | 67 | IceWhaleTech/CasaOS/route/v1/file.go |
IceWhaleTech/CasaOS/route/v1/ssh.go |
same repo |
| 5% | 64 | IceWhaleTech/CasaOS/route/v1/file.go |
IceWhaleTech/CasaOS/route/v2/health.go |
same repo |
| 5% | 59 | IceWhaleTech/CasaOS/route/v1/cloud.go |
IceWhaleTech/CasaOS/route/v1/file.go |
same repo |
| 14% | 58 | IceWhaleTech/CasaOS/route/v2.go |
IceWhaleTech/CasaOS/route/v2/health.go |
same repo |
| 17% | 55 | IceWhaleTech/CasaOS/drivers/google_drive/drive.go |
IceWhaleTech/CasaOS/drivers/onedrive/drive.go |
same repo |
| 10% | 55 | IceWhaleTech/CasaOS/cmd/migration-tool/main.go |
IceWhaleTech/CasaOS/main.go |
same repo |
Docs & prose
Near-identical documentation — often translations (e.g. README.md ⇄ README_zh-CN.md) or mirrored guides. Usually intentional, not cleanup — listed separately so it doesn't inflate the code signal above.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 2% | 41 | IceWhaleTech/CasaOS/CHANGELOG.md |
IceWhaleTech/CasaOS/README.md |
same repo |
| 1% | 19 | IceWhaleTech/CasaOS/CODE_OF_CONDUCT.md |
IceWhaleTech/CasaOS/README.md |
same repo |
| 11% | 15 | IceWhaleTech/CasaOS/.github/ISSUE_TEMPLATE/bug_report.md |
IceWhaleTech/CasaOS/.github/ISSUE_TEMPLATE/feature_request.md |
same repo |
Largest files
Largest files
| LOC | File | Status |
|---|---|---|
| 1110 | IceWhaleTech/CasaOS/route/v1/file.go | indexed |
| 760 | IceWhaleTech/CasaOS/pkg/utils/file/file.go | indexed |
| 616 | IceWhaleTech/CasaOS/CHANGELOG.md | indexed |
| 412 | IceWhaleTech/CasaOS/pkg/generic_sync/generic_sync.go | indexed |
| 385 | IceWhaleTech/CasaOS/route/v1/system.go | indexed |
| 359 | IceWhaleTech/CasaOS/api/casaos/openapi.yaml | indexed |
| 313 | IceWhaleTech/CasaOS/route/v1/zerotier.go | indexed |
| 262 | IceWhaleTech/CasaOS/route/v2.go | indexed |
| 261 | IceWhaleTech/CasaOS/pkg/utils/file/image.go | indexed |
| 257 | IceWhaleTech/CasaOS/README.md | indexed |