disk_log_1
Functions
logl(X::[binary()]) -> {iolist(), non_neg_integer()}
write_cache(Cache, FName) -> term()
sync(FdC, FName) -> term()
truncate(FdC, FileName, Head) -> term()
chunk(FdC, FileName, Pos, B, N) -> term()
chunk_read_only(FdC, FileName, Pos, B, N) -> term()
close(Cache, FileName, X3) -> term()
int_open(FName, Repair, X3, Head) -> term()
ext_open(FName, Repair, X3, Head) -> term()
is_head(Bin::binary()) -> yes | yes_not_closed | no
mf_int_open(FName::filename() (see module file), MaxB::integer(), MaxF::integer(), Repair::dlog_repair(), Mode::dlog_mode(), Head::dlog_head(), Version::integer()) -> {ok, #handle{}, integer()} | {repaired, #handle{}, non_neg_integer(), non_neg_integer(), non_neg_integer()}
mf_int_inc(Handle, Head) -> term()
mf_int_log(Handle, Bins, Head) -> term()
mf_int_chunk(Handle, X2, Bin, N) -> term()
mf_int_chunk_read_only(Handle, X2, Bin, N) -> term()
mf_int_chunk_step(Handle, X2, Step) -> term()
mf_write_cache(Handle) -> term()
mf_sync(Handle) -> term()
mf_int_close(Handle, Mode) -> term()
mf_ext_open(FName, MaxB, MaxF, Repair, Mode, Head, Version) -> term()
mf_ext_inc(Handle, Head) -> term()
mf_ext_log(Handle, Bins, Head) -> term()
mf_ext_close(Handle, Mode) -> term()
change_size_wrap(Handle, X2, Version) -> term()
read_index_file(FName) -> term()
print_index_file(File) -> term()
read_size_file(FName) -> term()
read_size_file_version(FName) -> term()
get_wrap_size(Handle) -> term()
fwrite(Cache, FN, B, Size) -> term()
position(Cache, FileName, Pos) -> term()
truncate_at(FdC, FileName, Pos) -> term()
fclose(Cache, FileName) -> term()
View Functions
- logl/1
- write_cache/2
- sync/2
- truncate/3
- chunk/5
- chunk_read_only/5
- close/3
- int_open/4
- ext_open/4
- is_head/1
- mf_int_open/1
- mf_int_inc/2
- mf_int_log/3
- mf_int_chunk/4
- mf_int_chunk_read_only/4
- mf_int_chunk_step/3
- mf_write_cache/1
- mf_sync/1
- mf_int_close/2
- mf_ext_open/7
- mf_ext_inc/2
- mf_ext_log/3
- mf_ext_close/2
- change_size_wrap/3
- read_index_file/1
- print_index_file/1
- read_size_file/1
- read_size_file_version/1
- get_wrap_size/1
- fwrite/4
- position/3
- truncate_at/3
- fclose/2