Represents a file entry in the DataTestApi. Get basic info like, name, relative path, etc. Get file stream or buffer.
The name without extension
'file' Copy
'file'
getter of the buffer file
The file extension
'.txt' Copy
'.txt'
The name of the file (with extension)
'file.txt' Copy
'file.txt'
The path to the file
'data/subfolder/file.txt' Copy
'data/subfolder/file.txt'
'/absolute/path/to/data/subfolder/file.txt' Copy
'/absolute/path/to/data/subfolder/file.txt'
Relative from instance DataTestApi root
'subfolder/file.txt' Copy
'subfolder/file.txt'
getter of the file stream
Represents a file entry in the DataTestApi. Get basic info like, name, relative path, etc. Get file stream or buffer.