File tree 1 file changed +5
-5
lines changed
src/main/kotlin/com/coder/toolbox/cli
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -514,9 +514,9 @@ class CoderCLIManager(
514
514
companion object {
515
515
private val tokenRegex = " --token [^ ]+" .toRegex()
516
516
517
- fun getHostnamePrefix (url : URL ): String = " coder-jetbrains-toolbox-${url.safeHost()} "
517
+ private fun getHostnamePrefix (url : URL ): String = " coder-jetbrains-toolbox-${url.safeHost()} "
518
518
519
- fun getBackgroundHostnamePrefix (url : URL ): String = " coder-jetbrains-toolbox-${url.safeHost()} -bg"
519
+ private fun getBackgroundHostnamePrefix (url : URL ): String = " coder-jetbrains-toolbox-${url.safeHost()} -bg"
520
520
521
521
fun getWildcardHostname (url : URL , ws : Workspace , agent : WorkspaceAgent ): String =
522
522
" ${getHostnamePrefix(url)} --${ws.ownerName} --${ws.name} .${agent.name} "
@@ -529,10 +529,10 @@ class CoderCLIManager(
529
529
return " ${getHostname(url, ws, agent)} --bg"
530
530
}
531
531
532
- fun getWsByOwner (ws : Workspace , agent : WorkspaceAgent ): String = " ${ws.ownerName} /${ws.name} .${agent.name} "
532
+ private fun getWsByOwner (ws : Workspace , agent : WorkspaceAgent ): String = " ${ws.ownerName} /${ws.name} .${agent.name} "
533
533
534
- fun Pair <Workspace , WorkspaceAgent >.workspace () = this .first
534
+ private fun Pair <Workspace , WorkspaceAgent >.workspace () = this .first
535
535
536
- fun Pair <Workspace , WorkspaceAgent >.agent () = this .second
536
+ private fun Pair <Workspace , WorkspaceAgent >.agent () = this .second
537
537
}
538
538
}
You can’t perform that action at this time.
0 commit comments