lib/path/path.go
Function listDirContents
has 12 return statements (exceeds 4 allowed). Open
Open
func listDirContents(thread *starlark.Thread, b *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error) {
var (
path string
recursive bool
filterFunc = tps.NullableCallable{}