Skip to content

Commit

Permalink
Update FileSystemService.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
dragossusi authored Nov 7, 2024
1 parent c36efda commit a21d218
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package ro.dragossusi.ktcnc.rpc

import kotlinx.rpc.RPC
import kotlinx.rpc.RemoteService
import kotlinx.rpc.annotations.Rpc

interface FileSystemService : RPC {
@Rpc
interface FileSystemService : RemoteService {
suspend fun getRoot(): FileResponse

suspend fun getFile(path: String): FileResponse

suspend fun getFilesInPath(path: String): List<FileResponse>
}
}

0 comments on commit a21d218

Please sign in to comment.