13#ifndef _GVM_FILEUTILS_H
14#define _GVM_FILEUTILS_H
44 const char *,
const char *,
const char *,
const char *);
int gvm_file_remove_recurse(const gchar *pathname)
Recursively removes files and directories.
int gvm_file_exists(const char *name)
Checks whether a file or directory exists.
gchar * gvm_export_file_name(const char *fname_format, const char *username, const char *type, const char *uuid, const char *creation_iso_time, const char *modification_iso_time, const char *name, const char *format_name)
Generates a file name for exporting.
int gvm_file_check_is_dir(const char *name)
Checks whether a file is a directory or not.
gboolean gvm_file_move(const gchar *source_file, const gchar *dest_file)
Moves a source file into a destination file.
int gvm_file_is_readable(const char *name)
Checks whether a file or directory exists and is readable.
int gvm_file_is_executable(const char *name)
Checks whether a file or directory exists and is executable.
char * gvm_file_as_base64(const char *path)
Get the content of a file in base64 format.
gboolean gvm_file_copy(const gchar *source_file, const gchar *dest_file)
Copies a source file into a destination file.