Index of values


A
abundance [Installability]
add [Rapids.CHRONOLOGICAL_MAP]
add_archive [Rapids]
Register an archive.
add_bin_rule [Solver.M]
add_bin_rule gets that state of the solver, two literals a,b and a list reasons to return in case this clause was involved in a clash.
add_day [Lifetime]
Add a day to a lifetime.
add_file_conflicts [Ocamlrpm]
add_file_provides [Ocamlrpm]
add_package [Rapids]
Add the given napkin into the database and return its ID.
add_package [Dosebase.Out]
add_packages_to_archive [Rapids]
Add the given packages to the archive for the given days.
add_rule [Solver.M]
add_bin_rule gets that state of the solver, a list of literals l and a list reasons to return in case this clause was involved in a clash.
add_un_rule [Solver.M]
add_un_rule gets that state of the solver, a literal and reasons to return in case this clause was involved in a clash.
ar_seek_to_file [Pirate]
archive_range [Rapids]
Get the first and last days for which this archive contains packages.
archives [Rapids.Functions]
Return the set of all archives
array_assoc [Util]
array_mem_assoc [Util]
assignment [Solver.M]
assoc3 [Io]
associate_vars [Solver.M]
associate_vars associate a variable to a list of variables.

B
binary_search [Util]
blit [Mmap]
blit mp i u j n copies the bytes j to j + n - 1 of the string u into the bytes offset + i to offset + i + n - 1 of the map.

C
call_if [Util]
catch [Util]
check [Installability]
check_together [Installability]
close_in [Dosebase.In]
close_out [Dosebase.Out]
collect_reasons [Solver.M]
collect_reasons_lst [Solver.M]
compare [Rapids.STRING_ORDERED_LITERATE]
compare [Rapids.ID]
compare [Rapids.ORDERED_LITERATE]
compare [Rapids.Release_order]
compare [Rapids.Version_order]
compare_id [Rapids.DOUBLE_INDEX]
compare_id [Rapids.LABELED_INDEX]
compare_id [Rapids.INDEX]
compare_versions [Ocamlrpm]
compare_versions [Ocamldeb]
compare_versions [Rapids.VERSION_POOL]
compare_versions [Ocamlpkgsrc]
conduit_of_buffer [Conduit]
Builds a conduit from a buffer.
conduit_of_channel [Conduit]
Builds a conduit from an output channel.
conflicts [Rapids.Functions]
Compute the set of packages that conflict with a given set.
convert [Io]
This function will copy data from reader to writer.
copy [Solver.M]
provide a deep copy of the current state of the solver
count_lines [Util]
count_population [Dosebase.In]
create [Rapids.CHRONOLOGICAL_MAP]
create [Rapids.DOUBLE_INDEX]
create [Rapids.VERSION_POOL]
create [Rapids.LABELED_INDEX]
create [Rapids.INDEX]
create_database [Rapids]
Create a fresh database.
create_io_in [Fragments]
Create an input channel from the given functions
create_io_out [Fragments]
Create an output channel from the given functions.

D
data [Rapids.LABELED_INDEX]
day_of_ymd [Lifetime]
Convert a date in Gregorian (year,month,day) format to a calendar day.
decompose_key [Dosebase]
delete_first_chars [Util]
dependency_closure [Rapids.Functions]
Compute the forward dependencies closure of a given set of packages on the relation in the list relations: `Pre is for the pre-dependency relation, `Dep is for the dependency relation.
dependency_path [Rapids.Functions]
Compute a dependency path in package_set from a to b (if it does not exist, raise Not_found
detect_pre_dependency_cycle [Ocamldeb]
drop_token [Fragments]
On failure, the following functions raise an Error(...) exception containing a useful message.
dummy [Progress]
dump [Io]
This debugging function will dump the tokens to stdout.

E
empty [Lifetime]
A lifetime containing no days.
empty_diagnosis [Diagnosis]

F
find [Rapids.DOUBLE_INDEX]
find [Rapids.VERSION_POOL]
find [Rapids.LABELED_INDEX]
find [Rapids.INDEX]
find_lifetime [Dosebase.In]
find_package [Dosebase.In]
finish [Fragments]
Finish consuming the input.
finish [Io]
finish ch finishes reading the input channel.
first_line [Util]
first_matching_char [Util]
first_matching_char_from [Util]
first_matching_char_rev [Util]
first_matching_char_rev_from [Util]
flip_array [Util]
flush [Fragments]
flush [Io]
flush ch flushed the output channel.
fnmatch [Ocamlpkgsrc]
for_all_chars [Util]
format_list [Generic_io]
format_to_id [Generic_io]
from_int [Rapids.ID]
from_string [Generic_io]

G
get [Rapids.CHRONOLOGICAL_MAP]
get_architecture_index [Rapids]
get_archive [Rapids]
Get an archive
get_archive_contents [Rapids]
Get the contents of an archive on a given day
get_archive_index [Rapids]
get_field [Dosebase.In]
get_field_first [Dosebase.In]
get_id [Rapids.VERSION_POOL]
get_liquid [Rapids]
The following functions return the various indexes from the database.
get_package_from_id [Rapids.Functions]
Return a package from its ID.
get_package_id [Dosebase.In]
get_package_index [Rapids]
get_release_index [Rapids]
get_solver [Installability]
get_source_index [Rapids]
get_type [Dosebase.In]
get_unit_index [Rapids]
get_verifier [Installability]
get_version [Rapids.VERSION_POOL]
get_version_index [Rapids]

H
hierarchical [Util]

I
id_to_format [Generic_io]
in_from_channel [Generic_io]
in_from_string [Generic_io]
in_of_channel [Human_io]
Create a reader from an Ocaml input channel.
in_of_channel [Binary_io]
Create a writer from an Ocaml output channel, which must be open in binary mode.
in_of_lexbuf [Ascii_io]
in_of_stream [Human_io]
Create a reader from a character stream.
in_of_string [Binary_io]
Create a reader from an Ocaml string.
initialize_problem [Solver.M]
initialize the solver
inside [Util]
install [Installability]
int64_of_inet_addr [Util]
int_of_tag [Fragments]
Functions for interconverting tags and integers between 0 and max_tag
io [Rapids.STRING_ORDERED_LITERATE]
io [Rapids.CHRONOLOGICAL_MAP]
io [Rapids.SET]
io [Rapids.ID]
io [Rapids.ORDERED_LITERATE]
io [Rapids.Release_order]
io [Rapids.Version_order]
io_array [Io]
The literate constructor for arrays.
io_bool [Io]
The literate for booleans.
io_char [Io]
The literate for characters.
io_collection [Io]
The literate constructor for abstract collections.
io_convert [Io]
Given a function f : 'a -> 'b its inverse g : 'b -> 'a and a literate io for 'a creates a literate for 'b.
io_day [Lifetime]
io_diagnosis [Diagnosis]
io_float [Io]
The literate for floats.
io_hashtbl [Io]
The literate constructor for hash tables from the module Hashtbl.t.
io_id [Rapids.VERSION_POOL]
io_id [Rapids.LABELED_INDEX]
io_id [Rapids.INDEX]
io_int [Io]
The literate for integers.
io_int64 [Io]
The literate for 64-bit integers.
io_lifetime [Lifetime]
io_list [Io]
The literate constructor for lists.
io_not_implemented [Io]
Use this when you need to declare a literate but don't want to implement one.
io_option [Io]
The literate constructor for the 'a option sum type.
io_pair [Io]
The literate constructor for pairs.
io_quadruple [Io]
The literate constructor for quadruples.
io_reason [Diagnosis]
io_record [Io]
The literate constructor for records.
io_string [Io]
The literate for strings.
io_sum [Io]
The literate constructor for sum types.
io_triple [Io]
The literate constructor for triples.
io_unit [Io]
The literate for values of type unit.
is_alpha [Util]
is_digit [Util]
is_empty [Lifetime]
Returns true if the lifetime contains no days.
is_end_tag [Fragments]
Suggest to close a pretty-printing box
is_prefix [Util]
is_space [Util]
is_start_tag [Fragments]
Suggest open a pretty-printing box
is_tag_voluminous [Fragments]
Does this tag require space around it ?
is_word_reserved [Fragments]
Is this a reserved word, such as array, hash or set ?
iso_8601_of_string [Util]
iter [Rapids.CHRONOLOGICAL_MAP]
iter [Rapids.DOUBLE_INDEX]
iter [Rapids.VERSION_POOL]
iter [Rapids.LABELED_INDEX]
iter [Rapids.INDEX]
iter [Dosebase.In]
iter_over_fields [Dosebase.In]
iterate_over_archive [Rapids]
Iterate over the days of an archive
iterate_over_days [Lifetime]
Iterate over every single day in the lifetime.
iterate_over_intervals [Lifetime]
Iterate over the intervals in the lifetime.

K
known_fields [Dosebase.In]

L
length [Mmap]
Returns the length of the mapped region
limit [Util]
limit_left [Util]
list_change_nth [Util]
list_has_more_than_one_element [Util]
list_intersect [Util]
list_remove_nth [Util]
list_sub_rev [Util]
lit_of_var [Solver.M]
load [Lifetime]
Load lifetime data from a file using Io.
load_from_channel [Generic_io]
load_from_file [Generic_io]
longest_matching_prefix [Util]
loss [Fragments]
Signal that some data has been lost.
lost [Fragments]
Tells us if any data has been lost, e.g., if loss has ever been called on this channel.
lowercase_compare [Util]

M
map [Mmap]
map fd copy offset length maps the bytes offset .. offset + length - 1 of file fd; if copy is true, the file is mapped in copy-on-write mode.
map [Napkin]
map_selector [Napkin]
Maps over selectors.
max_tag [Fragments]
Note that in order to reserver space for future tags, max_tag can be higher than the number of existing tags.
merge [Waterway]
Merge a waterway into the given database.
mkdirhier [Util]

N
name [Napkin]
Package names must be unique
napkin_of_fields [Dosebase]
napkin_of_fields assoc parses a Dosebase package description given by a function assoc that takes a field name and returns the first line of the contents of the field.

O
offset [Mmap]
Returns the offset of the mapped region
once [Util]
open_ar_file [Pirate]
open_in [Dosebase.In]
open_out [Dosebase.Out]
out_from_channel [Generic_io]
out_of_buffer [Ascii_io]
out_of_channel [Human_io]
Create a writer from an Ocaml output channel.
out_of_channel [Ascii_io]
out_of_channel [Binary_io]
Create a reader from an Ocaml input channel, which must be open in binary mode.
out_of_formatter [Human_io]
Create a writer from a formatter.
out_to_string [Binary_io]
Create a writer fo a string.
output [Lifetime]
Output lifetime data to a channel using Io.
output_package [Ocamldebwriter]
output_package_list [Ocamldebwriter]

P
packages [Rapids.Functions]
Return the set of all packages
parse_strings [Util]
paste [Mmap]
paste mp i u copies the string u into the bytes offset + i to offset + i + n - 1 of the map, where n is the length of the string u.
peek_token [Fragments]
Peek a token from an input channel
prepare [Installability]
proc_get_free_mem [Util]
proc_get_rsz_vsz [Util]
propagate [Solver.M]
protect [Solver.M]

R
randomize [Util]
range [Rapids.CHRONOLOGICAL_MAP]
range [Lifetime]
range lf returns a pair (a,b) where a is the first day and b is the last day in the lifetime.
read [Io]
read lit ch reads a value from the channel ch using the literate lit.
read_bool [Fragments]
Read a boolean.
read_char [Fragments]
Read a character.
read_constructor [Fragments]
Read a constructor name.
read_deb_file [Ocamldeb]
read_field [Fragments]
Read a field label.
read_float [Fragments]
Read a floating-point number.
read_hdlist [Ocamlrpm]
read_int [Fragments]
Read an integer.
read_int64 [Fragments]
Read a 64-bit integer.
read_package [Ocamlrpm]
read_pool_file [Ocamldeb]
read_string [Fragments]
Read a string.
read_summary_file [Ocamlpkgsrc]
read_synthesis_hdlist [Ocamlrpm]
read_tag [Fragments]
Read a tag token.
read_this_tag [Fragments]
Read this particular tag.
read_token [Fragments]
Read a token from an input channel
rebuild_index [Dosebase.Out]
reg_of_string [Util]
register [Rapids.DOUBLE_INDEX]
register [Rapids.VERSION_POOL]
register [Rapids.LABELED_INDEX]
register [Rapids.INDEX]
remove_leading_spaces [Util]
remove_spaces [Util]
replace [Rapids.DOUBLE_INDEX]
replace_package [Rapids]
Replace a package in the database.
reset [Solver.M]
reset reset the state of the solver and, in particular, it resets the variable assignment array

S
sanitize_filename [Util]
save [Lifetime]
Save lifetime data to a file using Io.
save_to_channel [Generic_io]
save_to_file [Generic_io]
scribe [Rapids.STRING_ORDERED_LITERATE]
scribe [Rapids.ID]
scribe [Rapids.ORDERED_LITERATE]
scribe [Rapids.Release_order]
scribe [Rapids.Version_order]
scribe_archive_from_id [Rapids.Functions]
Scribe the name of a archive from its ID
scribe_id [Rapids.DOUBLE_INDEX]
scribe_id [Rapids.VERSION_POOL]
scribe_id [Rapids.LABELED_INDEX]
scribe_id [Rapids.INDEX]
scribe_package [Rapids.Functions]
Scribe the name of a package, omitting the architecture if it is the default one.
scribe_package_from_id [Rapids.Functions]
Scribe the name of a package from its ID, omitting the architecture if it is the default one.
scribe_source_from_id [Rapids.Functions]
Scribe the name of a source from its ID
scribe_string [Conduit]
Writes a string into a conduit.
scribe_unit_from_id [Rapids.Functions]
Scribe the name of a unit from its ID
scribe_version_from_number [Rapids.Functions]
Scribe the name of a version from its number
search [Rapids.VERSION_POOL]
search [Rapids.LABELED_INDEX]
search [Rapids.INDEX]
search1 [Rapids.DOUBLE_INDEX]
search2 [Rapids.DOUBLE_INDEX]
seconds_of_iso_8601 [Util]
select [Rapids.Functions]
Return the set of packages matching a selector
self_test [Rapids]
Run a series of self-tests on the database, which must have been previously filled.
set_comparator [Rapids.Release_order]
set_comparator [Rapids.Version_order]
set_liquid [Rapids]
set_solver [Installability]
set_verifier [Installability]
set_watcher [Rapids.DOUBLE_INDEX]
set_watcher [Rapids.LABELED_INDEX]
set_watcher [Rapids.INDEX]
sf [Fragments]
Data tags
sf [Util]
singleton [Lifetime]
Create a lifetime with the given single day.
sockaddr_of_string [Util]
solve [Solver.M]
solve st v finds a variable assignment that makes v true
solve_lst [Solver.M]
solve st l finds a variable assignment that makes true all variables in l
sources [Rapids.Functions]
Return the set of all sources
specification_of_string [Waterway]
split_at [Util]
split_once_at [Util]
split_version [Rapids]
stderrcd [Conduit]
The conduit linked to standard error
stdoutcd [Conduit]
The conduit linked to standard output
string_contains [Util]
string_of_iso_8601 [Util]
string_of_process_status [Util]
string_of_sockaddr [Util]
string_of_tag [Fragments]
Functions for interconverting tags and purely alphabetical lowercase strings
string_of_token [Fragments]
Build a string representation of a token (usually for debugging)
string_of_versioned [Napkin]
Returns a textual representation of a versioned range in Debian style.
strong_dep [Installability]
sub [Mmap]
sub mp o n copies the bytes from offset + o to offset + o + n into a new string
substitute_variables [Util]
succ [Rapids.ID]
sweep [Rapids.ID]

T
tag_of_int [Fragments]
tag_of_string [Fragments]
tags [Fragments]
List of all existing tags
tar_seek_to_file [Pirate]
to_default_package [Napkin]
Convert a package with extras to a default package
to_int [Rapids.ID]
to_string [Generic_io]
today [Util]
token [Lexer]
trim [Installability]

U
uniq [Util]
unit_id_to_package_set [Rapids.Functions]
Return the set of packages matching a unit
unit_id_to_providers [Rapids.Functions]
Return the set of packages providing a unit
units [Rapids.Functions]
Return the set of all units
unix_really_read [Util]
unmap [Mmap]
unmap mp removes the mapping mp ; all subsequent calls with mp will raise an Invalid_argument exception.
unsanitize_filename [Util]

W
wind [Util]
with_output_to_file [Util]
word_wrap [Util]
wrap [Util]
write [Io]
write lit v ch writes the value v to the channel ch using the literate lit.
write_and_flush [Io]
write_bool [Fragments]
Write a boolean.
write_char [Fragments]
Write a char.
write_constructor [Fragments]
Write a constructor name.
write_field [Fragments]
Write a fiel label.
write_float [Fragments]
Write a floating-point number.
write_int [Fragments]
Write an integer.
write_int64 [Fragments]
Write a 64-bit integer.
write_string [Fragments]
Write a string.
write_tag [Fragments]
Write a tag.
write_token [Fragments]
Write a token.

Y
ymd_of_day [Lifetime]
Inverse function of day_of_date.

Z
zero [Rapids.ID]