Module s2_fs

Filesystem.

Description

Filesystem.

Data Types

fd()

fd() = file:io_device()

file()

file() = string()

Function Index

read/1
with_fd/2
with_fds/2
with_temp_dir/1
with_temp_dir/2
with_temp_dirs/2
with_temp_fd/1
with_temp_fd/2
with_temp_fds/2
with_temp_file/1
with_temp_file/2
with_temp_files/2
write/2

Function Details

read/1

read(File::file()) -> term() | undefined

with_fd/2

with_fd(File::file(), F::fun((fd()) -> A)) -> A

with_fds/2

with_fds(Files::[file()], F::fun(([fd()]) -> A)) -> A

with_temp_dir/1

with_temp_dir(F::fun((file()) -> A)) -> A

with_temp_dir/2

with_temp_dir(Prefix, F) -> any()

with_temp_dirs/2

with_temp_dirs(N::[file()], F::fun(([file()]) -> A)) -> A

with_temp_fd/1

with_temp_fd(F::fun(({file(), fd()}) -> A)) -> A

with_temp_fd/2

with_temp_fd(Prefix, F) -> any()

with_temp_fds/2

with_temp_fds(N::pos_integer() | [file()], F::fun(([{file(), fd()}]) -> A)) -> A

with_temp_file/1

with_temp_file(F::fun((file()) -> A)) -> A

with_temp_file/2

with_temp_file(Prefix, F) -> any()

with_temp_files/2

with_temp_files(N::[file()], F::fun(([file()]) -> A)) -> A

write/2

write(File::file(), Term::term()) -> term()


Generated by EDoc, Mar 14 2025, 16:51:43.