diff options
Diffstat (limited to 'lib/model/content.mli')
| -rw-r--r-- | lib/model/content.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/model/content.mli b/lib/model/content.mli index ab8d838..e972b83 100644 --- a/lib/model/content.mli +++ b/lib/model/content.mli @@ -16,3 +16,6 @@ val root : 'a t -> 'a t val fields : 'a t -> 'a Field.t Seq.t (** Iterate over the fields in the content *) + +val find_target : 'a t -> string -> 'a option +(** Get the content type pointed by the given field name *) |
