mirror of
https://github.com/fluencelabs/examples
synced 2025-04-24 18:22:15 +00:00
16 lines
271 B
Plaintext
16 lines
271 B
Plaintext
module ProcessFiles declares *
|
|
|
|
data SizeResult:
|
|
size: u32
|
|
success: bool
|
|
error: string
|
|
|
|
data WriteResult:
|
|
path: string
|
|
success: bool
|
|
error: string
|
|
|
|
service ProcessFiles:
|
|
file_size(file_path: string) -> SizeResult
|
|
write_file_size(size: u32) -> WriteResult
|