Add function hdfsGetRemaining to libhdfs

Add function hdfsGetRemaining to libhdfs
This commit is contained in:
FlyGently 2018-06-06 17:44:33 +08:00 committed by GitHub
parent c3c181aec2
commit 61bb51faff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -896,6 +896,15 @@ extern "C" {
LIBHDFS_EXTERNAL
tOffset hdfsGetUsed(hdfsFS fs);
/**
* hdfsGetRemaining - Return the remaining capacity of the filesystem.
* @param fs The configured filesystem handle.
* @return Returns the remaining-capacity; -1 on error.
*/
LIBHDFS_EXTERNAL
tOffset hdfsGetRemaining(hdfsFS fs);
/**
* Change the user and/or group of a file or directory.
*