directory

package
v0.0.0-...-cfb4354 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: Zlib Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DirectoryTag = iolang.BasicTag("Directory")

DirectoryTag is the Tag for Directory objects.

Variables

This section is empty.

Functions

func ArgAt

func ArgAt(vm *iolang.VM, m *iolang.Message, locals *iolang.Object, n int) (string, *iolang.Object, iolang.Stop)

ArgAt evaluates the nth argument and returns it as a string. If a stop occurs during evaluation, the path will be empty, and the stop status and result will be returned. If the evaluated result is not a Directory, the result will be empty, and an exception will be returned with an ExceptionStop.

func New

func New(vm *iolang.VM, path string) *iolang.Object

New creates a new Directory with the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL