Set up test data
julia> bs = rand(Bool, 100000);Using if/else:
julia> function foo(bs)| def deep_ls(path: str, max_depth=1): | |
| """ | |
| List all files and folders in specified path and | |
| subfolders within maximum recursion depth. | |
| """ | |
| # List all files in path and apply sorting rules | |
| li = mssparkutils.fs.ls(path) | |
| # Return all files |
Set up test data
julia> bs = rand(Bool, 100000);Using if/else:
julia> function foo(bs)