Skip to content

Commit

Permalink
add walkFiles
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Aug 20, 2023
1 parent 259c883 commit 011eb11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/stylesheets/test_os.bass
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ assert isAbsolute($x) == true
assert fileExists($somePath) == true
assert getFilename($somePath) == "test_strings.bass"
assert parentDir($somePath) == $x

assert $somePath.fileExists() == true
assert $somePath.parentDir() == $x

// os iterators
for $icon in walkFiles("./icons/*.svg"):
echo getFilename($icon)

0 comments on commit 011eb11

Please sign in to comment.