list_package_resources_by_dir(package_dir,
include_depends,
subdir,
rfilter=<function isfile at 0x7fa512083f50>)
| source code
|
List resources in a package directory within a particular
subdirectory. This is useful for listing messages, services, etc...
- Parameters:
package_dir (str) - package directory location
subdir (str) - name of subdirectory
include_depends (bool) - if True, include resources in dependencies as well
rfilter (fn(filename)->bool) - resource filter function that returns true if filename is the
desired resource type
|