Delete a virtal file from a folder in the filesystem.
|fs ||a CameraFilesystem |
|folder ||a folder in which to delete the file |
|filename ||the name of the file to delete |
|context ||a GPContext|
Remove a file from the filesystem. Compared to gp_filesystem_delete_file()
this just removes the file from the libgphoto2 view of the filesystem, but does not call the camera driver to delete it from the physical device.
- a gphoto2 error code.
Definition at line 1141 of file gphoto2-filesys.c.
CHECK_NULL (fs && folder && filename);
CA (folder, context);
CR (lookup_folder_file (fs, folder, filename, &f, &file, context));
return delete_file (fs, f, file);