diff --git a/doc/user/stored-procedures.xml b/doc/user/stored-procedures.xml index 75f38d7bd02a37ff7a412f358714c67a1a3dae1b..f915ba9285fc3200a89bb4a7c4ea9030455aab38 100644 --- a/doc/user/stored-procedures.xml +++ b/doc/user/stored-procedures.xml @@ -2005,6 +2005,27 @@ end --- - my ... +</programlisting> + </listitem> + </varlistentry> + + <varlistentry> + <term><emphasis role="lua">fio.dirname(<replaceable>path-name</replaceable>)</emphasis></term> + <listitem> + <para> + Given a full path name, remove the final part (the file name). + </para> + <para> + Parameters: (type = string) path name. + </para> + <para> + Returns: directory name, that is, path name except for file name. + </para> + <bridgehead renderas="sect4">Example</bridgehead><programlisting> +<prompt>tarantool></prompt> <userinput>fio.dirname('/path/to/my.lua')</userinput> +--- +- /path/to/ +... </programlisting> </listitem> </varlistentry>