toggle menu
Keyper
jvm
switch theme
search in API
Keyper
/
jarrid.keyper.utils.file
/
Local
Local
class
Local
(
config
:
Config
)
:
Backend
Members
Constructors
Local
Link copied to clipboard
constructor
(
config
:
Config
)
Properties
logger
Link copied to clipboard
open
val
logger
:
Klogger
root
Link copied to clipboard
val
root
:
String
Functions
create
Deployment
Dir
Link copied to clipboard
suspend
fun
createDeploymentDir
(
deployment
:
Deployment
?
=
null
)
create
Dir
Link copied to clipboard
open
override
fun
createDir
(
path
:
String
)
exists
Link copied to clipboard
open
override
fun
exists
(
path
:
String
)
:
Boolean
get
Deployment
Link copied to clipboard
fun
getDeployment
(
deployment
:
Deployment
?
=
null
)
:
Deployment
get
Deployments
Link copied to clipboard
fun
getDeployments
(
)
:
List
<
Deployment
>
get
Deployment
Stack
Link copied to clipboard
suspend
fun
getDeploymentStack
(
)
:
List
<
DeploymentStack
>
get
File
Name
Link copied to clipboard
fun
getFileName
(
resource
:
Resource
,
deployment
:
Deployment
)
:
String
get
Resource
Link copied to clipboard
fun
<
T
:
Resource
>
getResource
(
resource
:
Resource
,
deployment
:
Deployment
?
=
null
)
:
T
get
Resources
Link copied to clipboard
inline suspend
fun
<
T
:
Resource
>
getResources
(
deployment
:
Deployment
)
:
List
<
T
>
suspend
fun
<
T
:
Resource
>
getResources
(
deployment
:
Deployment
,
type
:
ResourceType
)
:
List
<
T
>
get
Resource
With
Check
Link copied to clipboard
fun
getResourceWithCheck
(
payload
:
Payload
,
type
:
ResourceType
)
:
Resource
ls
Link copied to clipboard
open
override
fun
ls
(
dir
:
String
)
:
List
<
String
>
read
Link copied to clipboard
open
override
fun
read
(
path
:
String
)
:
String
write
Link copied to clipboard
suspend
fun
write
(
deployment
:
Deployment
)
suspend
fun
<
T
:
Resource
>
write
(
resource
:
T
,
deployment
:
Deployment
)
open
override
fun
write
(
path
:
String
,
encoded
:
String
)