dirs_sys

Module xdg_user_dirs

source

Functionsยง

  • Returns all XDG user directories obtained from $(XDG_CONFIG_HOME)/user-dirs.dirs.
  • parse_user_dirs ๐Ÿ”’
  • read_all ๐Ÿ”’
    Reads the entire contents of a file into a byte vector.
  • shell_unescape ๐Ÿ”’
    Unescape bytes escaped with POSIX shell double-quotes rules (as used by xdg-user-dirs-update).
  • Returns a single XDG user directory obtained from $(XDG_CONFIG_HOME)/user-dirs.dirs.
  • split_once ๐Ÿ”’
    Returns bytes before and after first occurrence of separator.
  • trim_blank ๐Ÿ”’
    Returns a slice with leading and trailing characters removed.