Mozilla Skin
BLOG | FORUMS | WIKI | DEVELOPERS | MY EYEOS | PROFESSIONAL SERVICES | PROJECT PAGE

Service vfs real move

From eyeOS Wiki

Contents

Syntax

vfs('real_move', array($orig,$dest))

or

service('vfs', 'real_move', array($orig,$dest))

Description

Moves a real file from one location to another.

Arguments

orig: file to be moved.

dest: path where the file must be moved.

Return values

If the original file exists, the destinacion file does not, there are enough permissions to move the file and it is moved successfully, returns true.