package mfat

  1. Overview
  2. Docs
An implementation of FAT32 in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mfat-0.0.1.beta1.tbz
sha256=a3dcb21bb74a9b17bb21bbd6b8f2e56d687d85ff732841c3ddb425a9be9cf1e3
sha512=a70ce27dc2e81c0a7515e64fdbdd695f9ef57f35a213a0ad6ceaed3fbe88439087100d2b3f2bc256228c8e169c28c88a9f6d47355d93856bb49bdb86ff745d1d

doc/mfat.bos/Mfat_bos/Pat/index.html

Module Mfat_bos.PatSource

Sourcetype t

The type for named string patterns.

Sourcetype defs

The type for pattern variable definitions.

Sourceval of_string : string -> (t, [> `Msg of string ]) result

of_string s parses s as a named string pattern.

Sourceval v : string -> t

v s is like of_string but raises Invalid_argument on error.

Sourceval to_string : t -> string

to_string p is the string representation of p.

Sourceval matches : t -> string -> bool

matches p s is true iff s matches pattern p.

Sourceval query : ?init:defs -> t -> string -> defs option

query ~init p s matches s against p and returns the variable bindings added to init.