Skip to content

Commit

Permalink
Final review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mtelvers committed Dec 12, 2024
1 parent 3334c8e commit 19a5348
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions doc/qemu.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ and `autoinstall` on OpenBSD.
# Operation

A spec references the required base image using the `from` directive,
then runs whatever commands are required. An trivial to install the
`tar` package from opam on Windows example is given below.
then runs whatever commands are required. A trivial example which runs
`opam install tar` is given below. The `cache` directive maps an,
initially empty, folder over the opam download folder so these files
can be shared between jobs.

```
(
(from windows-server-2022-amd64-ocaml-4.14.2)
(run
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(shell "opam install tar")
)
(cache (opam-archives (target C:\Users\opam\AppData\Local\opam\download-cache)))
(shell "opam install tar"))
)
```

Expand Down
2 changes: 1 addition & 1 deletion lib/s.ml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module type BUILDER = sig
(** [df t] returns the percentage of free space in the store. *)

val shell : t -> string list
(** [shell] optional value to be used as the default shell. *)
(** [shell t] returns the default shell. *)

val cache_stats : t -> int * int
(** [cache_stats t] returns the number of cache hits and the number of cache misses. *)
Expand Down

0 comments on commit 19a5348

Please sign in to comment.