package commons

  1. Overview
  2. Docs
type file_type =
  1. | PL of pl_type
  2. | Obj of string
  3. | Binary of string
  4. | Text of string
  5. | Doc of string
  6. | Config of config_type
  7. | Media of media_type
  8. | Archive of string
  9. | Other of string
and pl_type =
  1. | OCaml of string
  2. | FSharp of string
  3. | MLOther of string
  4. | Haskell of string
  5. | Lisp of lisp_type
  6. | Skip
  7. | Scala
  8. | Prolog of string
  9. | Script of string
  10. | C of string
  11. | Cplusplus of string
  12. | Java
  13. | Kotlin
  14. | Csharp
  15. | ObjectiveC of string
  16. | Swift
  17. | Perl
  18. | Python
  19. | Ruby
  20. | Lua
  21. | R
  22. | Erlang
  23. | Go
  24. | Rust
  25. | Beta
  26. | Pascal
  27. | Web of webpl_type
  28. | Haxe
  29. | Opa
  30. | Flash
  31. | Bytecode of string
  32. | Asm
  33. | Thrift
  34. | MiscPL of string
and config_type =
  1. | Makefile
  2. | Json
  3. | Jsonnet
  4. | Yaml
  5. | HCL
and lisp_type =
  1. | CommonLisp
  2. | Elisp
  3. | Scheme
  4. | Clojure
and webpl_type =
  1. | Php of string
  2. | Hack
  3. | Js
  4. | TypeScript
  5. | Coffee
  6. | Vue
  7. | Css
  8. | Html
  9. | Xml
  10. | Sql
and media_type =
  1. | Sound of string
  2. | Picture of string
  3. | Video of string
val file_type_of_file : Common.filename -> file_type
val is_textual_file : Common.filename -> bool
val is_syncweb_obj_file : Common.filename -> bool
val is_json_filename : Common.filename -> bool
val files_of_dirs_or_files : (file_type -> bool) -> Common.filename list -> Common.filename list
val webpl_type_of_file : Common.filename -> webpl_type option
OCaml

Innovation. Community. Security.