get_file_context_paths

Returns file paths that the specified file depends on.

Arguments

NameTypeDescriptionRequired

path_to_file

string

The path to the file to get the context paths for.

depth

number

The depth of the context to get for the file. Defaults to 3.

Returns

TypeDescription

array

A list of file paths that the specified file depends on up to the specified depth.

Example

- name: get_file_context_paths
  arguments:
    path_to_file: <file-path>
    depth: 3
  returns: <file-paths>

Last updated