Skip to content

Releases: sclu1034/lgi-async-extra

v0.3.0

13 Apr 12:29
737942f
Compare
Choose a tag to compare

Added

  • file.copy: Copy files and directories

Fixed

  • fixed.move: Fixed exception due to introspection issues

v0.2.0

16 Mar 20:02
d01577e
Compare
Choose a tag to compare

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. Replaces file.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 of Gio.File as destination parameter.
  • file.iterate_lines: Renamed from file.read_lines.

v0.1.0-alpha

10 Mar 15:34
54a9d28
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release
chore: Fix directory name