package stationary

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

This module provides a type which represents a specification of the filesystem that is your site.

type t

A specification of a filesystem.

val file : File.t -> t

Declare a file to be in the filesystem.

val directory : string -> t list -> t

Declare a directory with the given name and children.

val copy_directory : string -> t

Specify that the given directory ought to be copied into the filesystem of your site.

val build : t -> dst:string -> unit Async.Std.Deferred.t

Build the specification at a given path.

OCaml

Innovation. Community. Security.