From bcd4280850b2b7d27fdf50e737b2d748e7b49b8f Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Tue, 23 Jan 2024 09:42:37 -0500 Subject: [PATCH] generated docs --- docs/functions/direxists.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/functions/direxists.md diff --git a/docs/functions/direxists.md b/docs/functions/direxists.md new file mode 100644 index 00000000..3f919fcc --- /dev/null +++ b/docs/functions/direxists.md @@ -0,0 +1,26 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "direxists function - terraform-provider-local" +subcategory: "" +description: |- + Determines whether a directory exists at a given path. +--- + +# function: direxists + +Given a path string, will return true if the directory exists. This function works only with directories. If used with a regular file, FIFO, or other special mode, it will return an error. + + + +## Signature + + +```text +direxists(path string) bool +``` + +## Arguments + + +1. `path` (String) Relative or absolute path to check for the existence of a directory +