Sample Pack Filter Resolution

sample_paths  pre_args (source_and_filter_types)

Accepts the same pre-args and opts as sample and returns a ring of matched sample paths.

Introduced in v2.10

Examples

# Example 1

sample_paths "/path/to/samples/"



#=> ring of all top-level samples in /path/to/samples



# Example 2

sample_paths "/path/to/samples/**"



#=> ring of all nested samples in /path/to/samples



# Example 3

sample_paths "/path/to/samples/", "foo"
                                                containing the string "foo" in their filename.



#=> ring of all samples in /path/to/samples