package sihl
Module Fields.DirectSource
Source
val iter :
t ->
id:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'a) ->
filename:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'b) ->
filesize:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
t ->
int ->
'c) ->
mime:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'd) ->
'dSource
val fold :
t ->
init:'a ->
id:
('a ->
([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'b) ->
filename:
('b ->
([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'c) ->
filesize:
('c ->
([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
t ->
int ->
'd) ->
mime:
('d ->
([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'e) ->
'eSource
val for_all :
t ->
id:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
bool) ->
filename:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
bool) ->
filesize:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
t ->
int ->
bool) ->
mime:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
bool) ->
boolSource
val exists :
t ->
id:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
bool) ->
filename:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
bool) ->
filesize:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
t ->
int ->
bool) ->
mime:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
bool) ->
boolSource
val to_list :
t ->
id:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'a) ->
filename:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'a) ->
filesize:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
t ->
int ->
'a) ->
mime:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
'a) ->
'a listSource
val map :
t ->
id:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
string) ->
filename:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
string) ->
filesize:
(([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm ->
t ->
int ->
int) ->
mime:
(([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm ->
t ->
string ->
string) ->
t