We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f98290 commit 0b547c4Copy full SHA for 0b547c4
core/src/main/kotlin/cc/unitmesh/devti/agent/tool/linecount/SCCWrapper.kt
@@ -56,19 +56,6 @@ class SccWrapper(): CmdWrapper<SccResult> {
56
throw SccException("Failed to parse scc output", e)
57
}
58
59
-
60
- // 快捷方法示例
61
- fun analyzeDirectory(directory: String, excludeDirs: List<String> = emptyList()): List<SccResult> {
62
- val args = mutableListOf<String>().apply {
63
- add(directory)
64
- if (excludeDirs.isNotEmpty()) {
65
- add("--exclude-dir")
66
- add(excludeDirs.joinToString(","))
67
- }
68
69
70
- return runSync(*args.toTypedArray())
71
72
73
74
class SccException(message: String, cause: Throwable? = null) : RuntimeException(message, cause)
0 commit comments