Skip to content
Snippets Groups Projects
Commit b98ec0a1 authored by ocelot-inc's avatar ocelot-inc
Browse files

stored-procedures.xml fio.dirname

parent 2d6031da
No related branches found
No related tags found
No related merge requests found
......@@ -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&gt;</prompt> <userinput>fio.dirname('/path/to/my.lua')</userinput>
---
- /path/to/
...
</programlisting>
</listitem>
</varlistentry>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment