~ubuntu-branches/ubuntu/natty/gnome-vfs/natty

« back to all changes in this revision

Viewing changes to doc/html/gnome-vfs-2.0-gnome-vfs-directory-basic-ops.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-03-17 16:12:58 UTC
  • mfrom: (0.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090317161258-px3a2czt9g2ktjz3
Tags: 1:2.24.1-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>Basic Directory Operations</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
 
7
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
 
8
<link rel="up" href="gnome-vfs-directory-ops.html" title="Directory-Specific Operations">
 
9
<link rel="prev" href="gnome-vfs-directory-ops.html" title="Directory-Specific Operations">
 
10
<link rel="next" href="gnome-vfs-2.0-gnome-vfs-directory-list-ops.html" title="Listing Directory Contents">
 
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="chapter" href="about.html" title="Introduction to GnomeVFS">
 
14
<link rel="chapter" href="data-types.html" title="Basic Data Types">
 
15
<link rel="chapter" href="gnome-vfs-basic-file-ops.html" title="File Operations">
 
16
<link rel="chapter" href="gnome-vfs-directory-ops.html" title="Directory-Specific Operations">
 
17
<link rel="chapter" href="gnome-vfs-file-and-dirs-ops.html" title="Advanced File/Directory Operations">
 
18
<link rel="chapter" href="gnome-vfs-file-async-ops.html" title="Asynchronous Operations">
 
19
<link rel="chapter" href="volumes.html" title="Volumes and Drives Handling">
 
20
<link rel="chapter" href="networking.html" title="Networking">
 
21
<link rel="chapter" href="mime-registry.html" title="MIME Registry">
 
22
<link rel="chapter" href="modules.html" title="Filesystem Modules">
 
23
</head>
 
24
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
25
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
26
<tr valign="middle">
 
27
<td><a accesskey="p" href="gnome-vfs-directory-ops.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
28
<td><a accesskey="u" href="gnome-vfs-directory-ops.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
29
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
30
<th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th>
 
31
<td><a accesskey="n" href="gnome-vfs-2.0-gnome-vfs-directory-list-ops.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
32
</tr>
 
33
<tr><td colspan="5" class="shortcuts">
 
34
<a href="#gnome-vfs-2.0-gnome-vfs-directory-basic-ops.synopsis" class="shortcut">Top</a>
 
35
                   | 
 
36
                  <a href="#gnome-vfs-2.0-gnome-vfs-directory-basic-ops.description" class="shortcut">Description</a>
 
37
</td></tr>
 
38
</table>
 
39
<div class="refentry" lang="en">
 
40
<a name="gnome-vfs-2.0-gnome-vfs-directory-basic-ops"></a><div class="titlepage"></div>
 
41
<div class="refnamediv"><table width="100%"><tr>
 
42
<td valign="top">
 
43
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.top_of_page"></a>Basic Directory Operations</span></h2>
 
44
<p>Basic Directory Operations — Creating and removing directories.</p>
 
45
</td>
 
46
<td valign="top" align="right"></td>
 
47
</tr></table></div>
 
48
<div class="refsynopsisdiv">
 
49
<a name="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.synopsis"></a><h2>Synopsis</h2>
 
50
<pre class="synopsis">
 
51
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.html#gnome-vfs-make-directory" title="gnome_vfs_make_directory ()">gnome_vfs_make_directory</a>            (const gchar *text_uri,
 
52
                                                         guint perm);
 
53
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.html#gnome-vfs-make-directory-for-uri" title="gnome_vfs_make_directory_for_uri ()">gnome_vfs_make_directory_for_uri</a>    (<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI">GnomeVFSURI</a> *uri,
 
54
                                                         guint perm);
 
55
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.html#gnome-vfs-remove-directory" title="gnome_vfs_remove_directory ()">gnome_vfs_remove_directory</a>          (const gchar *text_uri);
 
56
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.html#gnome-vfs-remove-directory-from-uri" title="gnome_vfs_remove_directory_from_uri ()">gnome_vfs_remove_directory_from_uri</a> (<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI">GnomeVFSURI</a> *uri);
 
57
</pre>
 
58
</div>
 
59
<div class="refsect1" lang="en">
 
60
<a name="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.description"></a><h2>Description</h2>
 
61
<p>
 
62
</p>
 
63
</div>
 
64
<div class="refsect1" lang="en">
 
65
<a name="gnome-vfs-2.0-gnome-vfs-directory-basic-ops.details"></a><h2>Details</h2>
 
66
<div class="refsect2" lang="en">
 
67
<a name="gnome-vfs-make-directory"></a><h3>gnome_vfs_make_directory ()</h3>
 
68
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      gnome_vfs_make_directory            (const gchar *text_uri,
 
69
                                                         guint perm);</pre>
 
70
<p>
 
71
Create <em class="parameter"><code>text_uri</code></em> as a directory.</p>
 
72
<p>
 
73
</p>
 
74
<div class="variablelist"><table border="0">
 
75
<col align="left" valign="top">
 
76
<tbody>
 
77
<tr>
 
78
<td><p><span class="term"><em class="parameter"><code>text_uri</code></em> :</span></p></td>
 
79
<td> uri of the directory to be created.
 
80
</td>
 
81
</tr>
 
82
<tr>
 
83
<td><p><span class="term"><em class="parameter"><code>perm</code></em> :</span></p></td>
 
84
<td> Unix-style permissions for the newly created directory
 
85
</td>
 
86
</tr>
 
87
<tr>
 
88
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
89
<td> an integer representing the result of the operation.
 
90
</td>
 
91
</tr>
 
92
</tbody>
 
93
</table></div>
 
94
</div>
 
95
<hr>
 
96
<div class="refsect2" lang="en">
 
97
<a name="gnome-vfs-make-directory-for-uri"></a><h3>gnome_vfs_make_directory_for_uri ()</h3>
 
98
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      gnome_vfs_make_directory_for_uri    (<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI">GnomeVFSURI</a> *uri,
 
99
                                                         guint perm);</pre>
 
100
<p>
 
101
Create a directory at <em class="parameter"><code>uri</code></em>. Only succeeds if a file or directory
 
102
does not already exist at <em class="parameter"><code>uri</code></em>.</p>
 
103
<p>
 
104
</p>
 
105
<div class="variablelist"><table border="0">
 
106
<col align="left" valign="top">
 
107
<tbody>
 
108
<tr>
 
109
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
 
110
<td> uri of the directory to be created.
 
111
</td>
 
112
</tr>
 
113
<tr>
 
114
<td><p><span class="term"><em class="parameter"><code>perm</code></em> :</span></p></td>
 
115
<td> Unix-style permissions for the newly created directory.
 
116
</td>
 
117
</tr>
 
118
<tr>
 
119
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
120
<td> an integer representing the result of the operation.
 
121
</td>
 
122
</tr>
 
123
</tbody>
 
124
</table></div>
 
125
</div>
 
126
<hr>
 
127
<div class="refsect2" lang="en">
 
128
<a name="gnome-vfs-remove-directory"></a><h3>gnome_vfs_remove_directory ()</h3>
 
129
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      gnome_vfs_remove_directory          (const gchar *text_uri);</pre>
 
130
<p>
 
131
Remove <em class="parameter"><code>text_uri</code></em>. <em class="parameter"><code>text_uri</code></em> must be an empty directory.</p>
 
132
<p>
 
133
</p>
 
134
<div class="variablelist"><table border="0">
 
135
<col align="left" valign="top">
 
136
<tbody>
 
137
<tr>
 
138
<td><p><span class="term"><em class="parameter"><code>text_uri</code></em> :</span></p></td>
 
139
<td> path of the directory to be removed.
 
140
</td>
 
141
</tr>
 
142
<tr>
 
143
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
144
<td> an integer representing the result of the operation.
 
145
</td>
 
146
</tr>
 
147
</tbody>
 
148
</table></div>
 
149
</div>
 
150
<hr>
 
151
<div class="refsect2" lang="en">
 
152
<a name="gnome-vfs-remove-directory-from-uri"></a><h3>gnome_vfs_remove_directory_from_uri ()</h3>
 
153
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult">GnomeVFSResult</a>      gnome_vfs_remove_directory_from_uri (<a class="link" href="gnome-vfs-2.0-gnome-vfs-uri.html#GnomeVFSURI" title="GnomeVFSURI">GnomeVFSURI</a> *uri);</pre>
 
154
<p>
 
155
Remove <em class="parameter"><code>uri</code></em>. <em class="parameter"><code>uri</code></em> must be an empty directory.</p>
 
156
<p>
 
157
</p>
 
158
<div class="variablelist"><table border="0">
 
159
<col align="left" valign="top">
 
160
<tbody>
 
161
<tr>
 
162
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
 
163
<td> uri of the directory to be removed.
 
164
</td>
 
165
</tr>
 
166
<tr>
 
167
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
168
<td> an integer representing the result of the operation.
 
169
</td>
 
170
</tr>
 
171
</tbody>
 
172
</table></div>
 
173
</div>
 
174
</div>
 
175
</div>
 
176
<div class="footer">
 
177
<hr>
 
178
          Generated by GTK-Doc V1.12</div>
 
179
</body>
 
180
</html>