Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 555 Bytes
layout title published tags
default
isplain
true
reference
files functions
functions
isplain

[%CFEngine_function_prototype(filename)%]

Description: Returns whether the named object filename is a plain/regular file.

[%CFEngine_function_attributes(filename)%]

Example:

[%CFEngine_include_snippet(isplain.cf, #+begin_src cfengine3, .*end_src)%]

Output:

[%CFEngine_include_snippet(isplain.cf, #+begin_src\s+example_output\s*, .*end_src)%]

See Also: fileexists(), filestat(), isdir(), islink(), returnszero()

You can’t perform that action at this time.