ViaUtils.File (via_utils v0.1.0) View Source

Documentation for ViaUtils.File.

Link to this section Summary

Link to this section Functions

Link to this function

cycle_mount(drive_location, mount_path \\ default_mount_path())

View Source

Specs

cycle_mount(binary(), binary()) :: atom()
Link to this macro

default_mount_path()

View Source (macro)

Hello world.

Examples

iex> UtilsFile.hello()
:world
Link to this function

get_filenames_with_extension(extension, subdirectory \\ "", mount_path \\ default_mount_path())

View Source

Specs

get_filenames_with_extension(binary(), binary(), binary()) :: list()
Link to this function

mount_usb_drive(drive_location, mount_path \\ default_mount_path())

View Source

Specs

mount_usb_drive(binary(), binary()) :: atom()
Link to this function

unmount_usb_drive(mount_path \\ default_mount_path())

View Source

Specs

unmount_usb_drive(binary()) :: tuple()