You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
425 B
Kotlin
15 lines
425 B
Kotlin
package me.eater.hefbrug.access
|
|
|
|
import me.eater.hefbrug.logging.Logging
|
|
|
|
class NoopAccess : AccessSkeleton, Logging {
|
|
override fun id() = "noop"
|
|
|
|
override suspend fun execute(
|
|
vararg command: String,
|
|
environment: Map<String, String>,
|
|
workingDirectory: String?
|
|
): ExecutionOutput {
|
|
return ExecutionOutput(ExecutionCommand(command, environment, workingDirectory), 0, "", "")
|
|
}
|
|
} |