koog-agents
Toggle table of contents
0.1.0
common
Platform filter
common
Switch theme
Search in API
koog-agents
agents-features-memory
/
ai.koog.agents.local.memory.providers
/
FileSystemProvider
/
Write
Write
interface
Write
<
Path
>
:
FileSystemProvider.Serialization
<
Path
>
(
source
)
Inheritors
ReadWrite
ReadWrite
Write
Members
Functions
create
Link copied to clipboard
abstract
suspend
fun
create
(
parent
:
Path
,
name
:
String
,
type
:
FileMetadata.FileType
)
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
parent
:
Path
,
name
:
String
)
extension
Link copied to clipboard
abstract
suspend
fun
extension
(
path
:
Path
)
:
String
from
Absolute
String
Link copied to clipboard
abstract
fun
fromAbsoluteString
(
path
:
String
)
:
Path
from
Relative
String
Link copied to clipboard
abstract
fun
fromRelativeString
(
base
:
Path
,
path
:
String
)
:
Path
move
Link copied to clipboard
abstract
suspend
fun
move
(
source
:
Path
,
target
:
Path
)
name
Link copied to clipboard
abstract
suspend
fun
name
(
path
:
Path
)
:
String
sink
Link copied to clipboard
abstract
suspend
fun
sink
(
path
:
Path
,
append
:
Boolean
=
false
)
:
Sink
to
Absolute
Path
String
Link copied to clipboard
abstract
fun
toAbsolutePathString
(
path
:
Path
)
:
String
to
Path
String
Link copied to clipboard
abstract
fun
toPathString
(
path
:
Path
)
:
String
Performs path to string conversion.
write
Link copied to clipboard
abstract
suspend
fun
write
(
path
:
Path
,
content
:
ByteArray
)