$account.fs.rebuild

Rebuilds given .pv files of an account.
Syntax
    $account.fs.rebuild{file}
Documentation$account.fs.rebuild:
WARNING: This function is not heavily tested as the functionality is needed very rarely and dealing with SITEFORUM internals. Use of it may damage your application. This function tries to repair damaged .pv files by rebuilding it. This only works if the data is still valid but the fs like structure or the sort order is broken. In all cases before you're using this functions you should make a backup of the account in question.
    Paramter:
      1 - file to rebuild
    Returns:
      Void.
    Throws:
      IOException
Examples
As this function is quite dangerous and you usually will not use this function anyways there's no example given here. If you still need to know how to use this have a look at the code for Studio -> Tools -> Misc -> Manipulate Instances -> Rebuild.
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_EXPERT
Minimum parameters1
Maximum parameters 2