module Seqdb_fsys_types: sig .. end
Filesystem type definitions
type file_name = string
Names. Note that filesystems have usually a length limitation
type file_type = char
The type may be used arbitrarily. By convention, we use:
- 'f': an uncompressed file
- 'c': a gzip-compressed file
- 'a': a gar archive (see
Seqdb_archive)
- 'x': unknown type
exception File_not_found of file_name
No such file exists
exception File_type_mismatch of file_name
The file exists, but does not have an acceptable type
exception File_exists of file_name
The file exists and is in the way
type wr_flags = [ `Excl | `Mtime of int64 ]
See open_file_wr_ext below
class type ['a] file_system = object .. end
This is the class type of a file system that uses 'file_descr
to denote open files (usually opaque).
class type ['a] file_system_iterator = object .. end
An iterator for a file system walks over all files.
class type ['a] file_system_iteration = object .. end
An iteration is a running instance of an iterator