File#

class carb.filesystem.File#

Bases: pybind11_object

Methods

__init__(*args, **kwargs)

close(self)

flush(self)

get_create_time(self)

get_mod_time(self)

get_position(self)

get_size(self)

read_line(self)

set_position(self, arg0, arg1)

truncate(self)

write_line(self, arg0)

__init__(*args, **kwargs)#
close(self: carb._carb.filesystem.File) bool#
flush(self: carb._carb.filesystem.File) bool#
get_create_time(self: carb._carb.filesystem.File) int#
get_mod_time(self: carb._carb.filesystem.File) int#
get_position(self: carb._carb.filesystem.File) int#
get_size(self: carb._carb.filesystem.File) int#
read_line(self: carb._carb.filesystem.File) object#
set_position(
self: carb._carb.filesystem.File,
arg0: int,
arg1: carb._carb.filesystem.FileWhence,
) bool#
truncate(self: carb._carb.filesystem.File) bool#
write_line(self: carb._carb.filesystem.File, arg0: str) bool#