• R/O
  • SSH
  • HTTPS

perl-fuse-fv: Commit


Commit MetaInfo

Revision67 (tree)
Zeit2011-05-30 23:47:44
Autortofjw

Log Message

documentation reached to the rename method.

Ändern Zusammenfassung

Diff

--- Fuse-Class/trunk/lib/Fuse/Class.pm (revision 66)
+++ Fuse-Class/trunk/lib/Fuse/Class.pm (revision 67)
@@ -216,7 +216,7 @@
216216 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
217217 $atime,$mtime,$ctime,$blksize,$blocks)
218218
219-On error, returns scalar value like 'return -ENOENT();'.
219+On error, returns scalar value like -ENOENT().
220220
221221 =head2 readlink(PATH_NAME)
222222
@@ -223,7 +223,7 @@
223223 This method is called to dereference symbolic link.
224224 Returns a destination path string or numeric error value.
225225
226-By Default implementation, returns -ENOENT.
226+By Default implementation, returns -ENOENT().
227227 You can leave this method if your FS does not have symlink.
228228
229229 =cut
@@ -234,33 +234,42 @@
234234
235235 =head2 getdir(DIRECTORY_NAME)
236236
237+Returns a list of file/directory names and errno (0 if success).
238+ex: ('.', 'a', 'b', 0)
237239
238-Same as Fuse.
240+If 'readdir' method is implemented, this function will never be called.
239241
240-=head2 mknod
242+=head2 mknod(PATH_NAME, MODE, DEVNO)
241243
242-Same as Fuse.
244+Returns an errno (0 if success).
245+This method is called to create an entity (device or file).
243246
244-=head2 mkdir
247+=head2 mkdir(DIRECTORY_NAME, MODE)
245248
246-Same as Fuse.
249+Returns an errno (0 if success).
250+This method is called to create a directory.
247251
248-=head2 unlink
252+=head2 unlink(PATH_NAME)
249253
250-Same as Fuse.
254+Returns an errno (0 if success).
255+This method is called to remove an entity (device, file or symlink).
251256
252-=head2 rmdir
257+=head2 rmdir(PATH_NAME)
253258
254-Same as Fuse.
259+Returns an errno (0 if success).
260+This method is called to remove a directory.
255261
256-=head2 symlink
262+=head2 symlink(PATH_NAME, SYMLINK_NAME)
257263
258-Same as Fuse.
264+Returns an errno (0 if success).
265+This method is called to create a symbolic link.
259266
260-=head2 rename
267+=head2 rename(OLD_NAME, NEW_NAME)
261268
262-Same as Fuse.
269+Returns an errno (0 if success).
270+This method is called to rename/move a entity.
263271
272+
264273 =head2 statfs
265274
266275 Same as Fuse. By default implementation, returns -ENOANO.
Show on old repository browser