XDG library path support for OCaml via Eio capabilities
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

xdge: outdent xdge.mli example after dune fmt

Pure formatting: dune fmt drops the leading 2-space indent.

+6 -6
+6 -6
lib/xdge.mli
··· 84 84 85 85 {b Example:} 86 86 {[ 87 - let run () = 88 - Eio_main.run @@ fun env -> 89 - let fs = Eio.Stdenv.fs env in 90 - let xdg = Xdge.v fs "myapp" in 91 - let config = Xdge.config_dir xdg in 92 - Fmt.pr "config dir: %a@." Eio.Path.pp config 87 + let run () = 88 + Eio_main.run @@ fun env -> 89 + let fs = Eio.Stdenv.fs env in 90 + let xdg = Xdge.v fs "myapp" in 91 + let config = Xdge.config_dir xdg in 92 + Fmt.pr "config dir: %a@." Eio.Path.pp config 93 93 ]} 94 94 95 95 All directories are created with permissions 0o755 if they don't exist,