Releases: sclu1034/lgi-async-extra
Releases · sclu1034/lgi-async-extra
v0.3.0
v0.2.0
Added
file.is_instance
: Static function to check if a value is a file handle.file.create
: Create an empty file.file.read_string
: Read the entire contents of a file into memory. Replacesfile.read_all
.file.read_bytes
: Read the specified number of bytes from the file.file.get_path
: Get the path the file handle points to.- New module
filesystem
: Utilities for handling directories and other file system properties. filesystem.make_directory
: Create a directory at a given path.filesystem.iterate_contents
: Run a function against the entries of a directory, recursively.filesystem.list_contents
: List the contents of a directory.filesystem.remove_directory
: Remove a directory.
Changed
file.move
: Now also allows file handlers and instances ofGio.File
as destination parameter.file.iterate_lines
: Renamed fromfile.read_lines
.
v0.1.0-alpha
chore: Fix directory name