mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
- Split out filesystem functions in filesystem.h/.cpp
- Update Jamfile
This commit is contained in:
23
efiler/filesystem.h
Normal file
23
efiler/filesystem.h
Normal 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);
|
||||
Reference in New Issue
Block a user