rename


Description:

public int rename (string path)

Renames existing block file to a new path.

Parameters:

this

a BlockFile

path

path with filename to rename to

Returns:

0 on success, -1 on error; errno is set on failure