Skip to content

Commit

Permalink
chore: autopublish 2024-11-02T22:59:38Z
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 2, 2024
1 parent 0cbae3f commit bc9fc62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/library/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,12 @@ Splits a file path into folder, file name, and extension.
utility_functions.eachfile(directory_path)
```

[View source](https://github.com/finale-lua/lua-scripts/tree/refs/heads/master/src/library/utils.lua#L522)
[View source](https://github.com/finale-lua/lua-scripts/tree/refs/heads/master/src/library/utils.lua#L524)

Iterates a file path using lfs and feeds each directory and file name to a function.
The directory names fed to the iterator function always contain path delimeters at the end.
Both directory and file names are encoded utf8 on all platforms.

The following are skipped.

- "." and ".."
Expand Down

0 comments on commit bc9fc62

Please sign in to comment.