- Split out filesystem functions in filesystem.h/.cpp

- Update Jamfile
This commit is contained in:
Vedran Ljubovic
2007-08-01 18:06:50 +00:00
parent a99c55b6f1
commit 10a579512b
3 changed files with 126 additions and 1 deletions

23
efiler/filesystem.h Normal file
View File

@@ -0,0 +1,23 @@
/*
* $Id$
*
* EFiler - EDE File Manager
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
// Functions for filesystems
// Get mount point of filesystem for given file
const char* find_fs_for(const char* file);
// Tests if two files are on the same filesystem
bool is_on_same_fs(const char* file1, const char* file2);
// Find filesystem total size and free space (in bytes)
// dir is any directory on the filesystem
bool fs_usage(const char* dir, double &total, double &free);