jazzdotdev / jazzdotdev/jazz

Change current working directory with Lua

Open
#170 4 comments 0 reactions 0 assignees View on GitHub
progress/1
Dominant language
Rust
Stars
147
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Need something like `fs.chdir` to change current working directory with Lua.

Example usage:
```
local err = fs.chdir("/this/path/exists")
assert(err == nil, "Failed to chdir to existing directory")

local err = fs.chdir("/no/such/path")
assert(err != nil, "Chdir to nonexistent directory succeeded")
```

`err` should be string describing the failed syscall.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.