package binsec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Extra functions over files

val load : string -> string

load filename return a string with the complete text of the file

val copy : string -> string -> unit

copy src dst copies filename src to filename dst

val readlines : string -> string list

readlines filename return the list of the lines of the complete text of the file filename

val has_suffix : suffixes:string list -> string -> bool

has_suffix ~suffixes filenam returns true if filename ends with any of the provied suffixes