C | |
| checkpoint [Seqdb_fsys_types.file_system] |
Syncs data to disk, and marks the logical file system length as
valid one.
|
| chunk_size [Seqdb_rdwr.reader_writer] |
The chunk size is the amount of bytes read or written at one time
|
| close_file [Seqdb_fsys_types.file_system] |
Closes the file
|
| cmp_filepos [Seqdb_fsys_types.file_system] |
Indicates the order in which the files are accessed best to maximize
speed.
|
| current_file [Seqdb_fsys_types.file_system_iteration] |
Returns the current file descriptor.
|
| current_name [Seqdb_fsys_types.file_system_iteration] |
Returns the current file name
|
D | |
| delete_file [Seqdb_fsys_types.file_system] |
Closes and deletes the file
|
| delete_name [Seqdb_fsys_types.file_system] |
Deletes the named file
|
| delete_name_from_index [Seqdb_fsys_types.file_system] |
Only deletes the filename from the index file, but does not mark
the entry as deleted.
|
| dispose [Seqdb_fsys_types.file_system] |
Indicates that the filesystem is currently not used, and that all
OS resources should be freed.
|
| dispose_descr [Seqdb_rdwr.reader_writer] |
Forgets the file descriptor.
|
| dispose_descr [Seqdb_rdwr.disposable_descr] |
Actually close the descriptor if it is allowed by the protocol.
|
| dispose_hint [Seqdb_rdwr.file_descr] |
Called by higher layers to notify this object that it is now allowed
to close the Unix descriptor, and that the next call of
file_descr
is permitted to return a different descriptor.
|
E | |
| eof [Seqdb_rdwr.reader_writer] |
The eof-of-file position
|
| exclusive_access [Seqdb_fsys_types.file_system] |
If the file system supports locking, this method grants exclusive
access until
dispose is called.
|
F | |
| file_descr [Seqdb_rdwr.file_descr] |
Get the file descriptor or raise an exception if this is not possible.
|
| file_mtime [Seqdb_fsys_types.file_system] |
Returns the timestamp of the last modification
|
| file_size [Seqdb_fsys_types.file_system] |
Returns the size of the open file
|
| file_type [Seqdb_fsys_types.file_system] |
Returns the file type
|
| filepos [Seqdb_fsys_types.file_system] |
The exact file position of the inode of this file
|
| flush [Seqdb_rdwr.reader_writer] |
Flush all dirty buffers to disk
|
G | |
| guess_filepos [Seqdb_fsys_types.file_system] |
Returns the best guess for the file position it is possible to make
by only looking at the index.
|
I | |
| input [Seqdb_rdwr.reader_writer] | input s pos len: Read up to len bytes at the current read/write
position into s at string position pos.
|
| is_last_file [Seqdb_fsys_types.file_system] |
Returns whether the file is physically the last one in the fsys
|
N | |
| next [Seqdb_fsys_types.file_system_iteration] |
Switches to the next file, or raises
End_of_file if the end is reached
|
| next_recoverable [Seqdb_fsys_types.file_system_iteration] |
When
next throws an exception, this method might help.
|
O | |
| open_file_rd [Seqdb_fsys_types.file_system] |
Opens the file for reading, or raises
File_not_found.
|
| open_file_wr [Seqdb_fsys_types.file_system] |
Opens the file for writing.
|
| open_file_wr_ext [Seqdb_fsys_types.file_system] |
Same as
open_file_wr, but the behavior can be modified by
a list of flags: `Excl: Raises File_exists if the file already exists, `Mtime t: Set the mtime initially to t, and prevent that
writing to the returned file descriptor modifíes t. You can
end this mode by explicitly setting mtime using set_file_mtime.
|
| output [Seqdb_rdwr.reader_writer] | output s pos len: Write up to len bytes from s at the string
position pos to the file at the current read/write position.
|
P | |
| pos [Seqdb_rdwr.reader_writer] |
Current read/write position
|
R | |
| read_file [Seqdb_fsys_types.file_system] | read_file fd s s_pos f_pos len: Reads len bytes of the file fd
at position f_pos and writes the bytes into s beginning at
position s_pos.
|
| really_input [Seqdb_rdwr.reader_writer] | really_input s pos len: Read exactly len bytes at the current
read/write position into s at string position pos.
|
| really_output [Seqdb_rdwr.reader_writer] | really_output s pos len: Write exactly len bytes from s at
the string position pos to the file at the current read/write
position.
|
| rename_file [Seqdb_fsys_types.file_system] |
Renames the file to the new name.
|
| reserve [Seqdb_fsys_types.file_system] |
Reserves space for this file size.
|
S | |
| seek [Seqdb_rdwr.reader_writer] |
Set the read/write position
|
| set_file_mtime [Seqdb_fsys_types.file_system] |
Sets the mtime timestamp
|
| set_file_type [Seqdb_fsys_types.file_system] |
Sets the file type
|
| set_superblock_variable [Seqdb_fsys_types.file_system] |
Set a superblock variable
|
| start [Seqdb_fsys_types.file_system_iterator] |
Starts a fresh iteration.
|
| superblock_variable [Seqdb_fsys_types.file_system] |
Get a superblock variable
|
T | |
| truncate [Seqdb_fsys_types.file_system] |
Truncates the file size.
|
W | |
| write_file [Seqdb_fsys_types.file_system] | write_file fd s s_pos f_pos len: Writes len bytes to the file
fd at position f_pos.
|