-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d993daa
commit bcd4280
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
<!-- signature generated by tfplugindocs --> | ||
```text | ||
direxists(path string) bool | ||
``` | ||
|
||
## Arguments | ||
|
||
<!-- arguments generated by tfplugindocs --> | ||
1. `path` (String) Relative or absolute path to check for the existence of a directory | ||
|