Information about a file.
More...
Information about a file.
- See also
- love.filesystem.newFileData
◆ FileData() [1/2]
love::Types::FileSystem::FileData::FileData |
( |
const std::string & |
filepath | ) |
|
Creates a new FileData from a file on the storage device.
- Parameters
-
filepath | Path to the file. |
◆ FileData() [2/2]
love::Types::FileSystem::FileData::FileData |
( |
const std::string & |
contents, |
|
|
const std::string & |
name |
|
) |
| |
Creates a new FileData from the given data and filename.
- Parameters
-
contents | The data for the file. |
name | The filename of the file. |