@lcap/nasl-unified-frontend-generator > PlacedFile
PlacedFile class
已经被放置在文件系统中的文件
Signature:
declare class PlacedFile
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(file, folder) | Constructs a new instance of the PlacedFile class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
currentAbsolutePath | string | 文件当前的绝对路径 | |
file | readonly | InputFile | |
originalAbsolutePath | readonly | string | 文件在所有移动发生前的绝对路径 |
Methods
Method | Modifiers | Description |
---|---|---|
getFolder() | ||
moveFileTo(folder) | 移动文件到文件夹下 |