Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
feat(c#): add loc for class support
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 25, 2022
1 parent 3354804 commit 2cab6ea
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -471,6 +471,9 @@ class ClassRepository(systemId: String, language: String, workspace: String) {
values["id"] = clzId
values["system_id"] = systemId
values["name"] = "$pkgName.$clzName"

values["loc"] = (clz.Position.StopLine - clz.Position.StartLine).toString()

values["is_thirdparty"] = "false"
values["is_test"] = "false"
values["updatedAt"] = time
Expand Down

0 comments on commit 2cab6ea

Please sign in to comment.