From b98ec0a1c1673df478e9aea411d4b490352c4592 Mon Sep 17 00:00:00 2001
From: ocelot-inc <pgulutzan@ocelot.ca>
Date: Tue, 30 Sep 2014 16:33:55 -0600
Subject: [PATCH] stored-procedures.xml fio.dirname

---
 doc/user/stored-procedures.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/doc/user/stored-procedures.xml b/doc/user/stored-procedures.xml
index 75f38d7bd0..f915ba9285 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&gt;</prompt> <userinput>fio.dirname('/path/to/my.lua')</userinput>
+---
+- /path/to/
+...
 </programlisting>
   </listitem>
   </varlistentry>
-- 
GitLab