MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / processUser

Function processUser

tests/fixtures/sample.kt:96–100  ·  view source on GitHub ↗

Top-level function using various features. */

Source from the content-addressed store, hash-verified

94
95/** Top-level function using various features. */
96fun processUser(repo: Repository<User>, userId: String): Result<User> {
97 val count = repo.count()
98 Logger.info("Repository has $count users")
99 return Result.Success(User.guest())
100}
101
102protected fun helperFunction(): Unit {
103 Logger.info("helper")

Callers

nothing calls this directly

Calls 3

countMethod · 0.80
guestMethod · 0.80
infoMethod · 0.45

Tested by

no test coverage detected