Debian Codegraph @

otherlibs/dune-action-plugin/test/one-directory-dependency/bin/foo.ml

raw
1 open Dune_action_plugin.V1
2 module Glob = Dune_glob.V1
3
4 let action =
5 let open Dune_action_plugin.V1.O in
6 let+ listing =
7 read_directory_with_glob ~glob:Glob.universal ~path:(Path.of_string "some_dir")
8 in
9 String.concat "\n" listing |> print_endline
10 ;;
11
12 let () = run action