Luna::VFS::DriverDesc::on_move_file

RV(* on_move_file) (void *driver_data, void *from_mount_data, void *to_mount_data, const Path &from_path, const Path &to_path, FileMoveFlag flags)

Called when VFS::move_file is called on two files that both belong to devices of this driver.

Parameters

  • in driver_data

    The user-provided driver data.

  • in from_mount_data

    The mount data returned by on_mount for the device that the file is moved from.

  • in to_mount_data

    The mount data returned by on_mount for the device that the file is moved to.

  • in from_path

    The path of the file to move from relative to the mount root path.

  • in to_path

    The path of the file to move to relative to the mount root path.

  • in flags

    The file move flags.