|
Whitebeam Template Reference Documentation
|
System Template
truncate()
- Available since version 1.3.12 Removes all but the default fragment ID (0) for a specific file
See Also
rb.file.get() rb.file.create() rb.file.append() rb.file.modify() Syntax
number = rb.file.truncate(fileID)
Parameters
The 'truncate' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | fileID | number | Valid fileID | Required. Identifier of file to be removed from the catalogue. |
Results
The 'truncate' method returns number:
Type/Value | Range/Length | Description |
number |
fileID |
Delete all fragmentIDs>0
|
|
|
(loadtime : 62ms) |