diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-11-21T13·49+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-11-21T13·49+0000 |
commit | 06f95dd07ce691a1f12c8ec7fa5ad84858d81cd0 (patch) | |
tree | bca2f5bb29b4a6844eb8f35c04d4e9bda7025128 /doc | |
parent | c370755583d7350f4b96136eb0a6a8a7b08551b1 (diff) |
* New primop `readFile' to get the contents of a file as a string.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/builtins.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/manual/builtins.xml b/doc/manual/builtins.xml index b6c886199b5c..4c8e3163b1a8 100644 --- a/doc/manual/builtins.xml +++ b/doc/manual/builtins.xml @@ -441,6 +441,15 @@ in config.someSetting</programlisting> --> + <varlistentry><term><function>builtins.readFile</function> + <replaceable>path</replaceable></term> + + <listitem><para>Return the contents of the file + <replaceable>path</replaceable> as a string.</para></listitem> + + </varlistentry> + + <varlistentry><term><function>removeAttrs</function> <replaceable>attrs</replaceable> <replaceable>list</replaceable></term> |