File: fileops.h

package info (click to toggle)
screem 0.2.1-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,748 kB
  • ctags: 2,270
  • sloc: ansic: 26,366; sh: 7,453; makefile: 512; sed: 93; perl: 18
file content (14 lines) | stat: -rw-r--r-- 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef FILEOPS_H
#define FILEOPS_H

gboolean copy_file( const gchar *source, const gchar *dest );
gboolean copy_dir( const char *source, const gchar *dest, gboolean move );
gboolean move_file( gchar *source, gchar *dest );
gboolean delete_file( const gchar *file );
gboolean delete_dir( const gchar *path );
gboolean mkdir_recursive( const gchar *path );

gchar *relative_path( gchar *text, const gchar *root );
gchar *relative_to_full( gchar *relPath );

#endif