Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/reference/functions/findfiles_up.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ layout: default
title: findfiles_up
aliases:
- "/reference-functions-findfiles_up.html"
- "/reference/functions/search_up"
---

{{< CFEngine_function_prototype(path, glob, level) >}}

**Description:** Return a data array of files that match a given glob pattern
by searching up the directory tree.
by searching up the directory tree. Also available as `search_up()`.

This function searches for files matching a given glob pattern `glob` in the
local filesystem by searching up the directory tree from a given absolute
Expand Down
15 changes: 15 additions & 0 deletions content/reference/functions/search_up.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: default
title: search_up
aliases:
- "/reference-functions-search_up.html"
alias: reference-functions-search_up
---

`search_up()` is an alias for `findfiles_up()`.

See the `findfiles_up()` documentation for usage, examples, and details.

**History:**

- Introduced in 3.18 (as an alias for `findfiles_up()`).
Loading