Module Import alias Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore IfExp CompareEq NameLoad Str Str NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Call NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Num Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad While BoolOpAnd CompareLt NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore Num Delete SubscriptDel NameLoad Slice Num NameLoad Delete SubscriptDel NameLoad Slice Num NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Str orelse Assign NameStore BinOpMult Str Call NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad decorator_list
N/A N/A re N/A os sanitize N/A N/A path N/A N/A N/A path N/A posix path N/A path N/A N/A re sub ^\/?(./)+ ./ path N/A path N/A N/A re sub ^(\/)+ / path N/A path N/A posix N/A N/A path N/A N/A N/A N/A path None N/A N/A path N/A N/A path replace \ / N/A path N/A is_relative N/A N/A string N/A N/A N/A N/A bool N/A N/A re match (\.?\.\/) string N/A is_absolute N/A N/A string N/A N/A N/A N/A bool N/A N/A re match \/[A-Za-z0-9\_\-\s\.$]* string N/A sanitize_base_directory N/A N/A path N/A N/A N/A path N/A sanitize path N/A path N/A N/A N/A os path dirname path N/A path N/A N/A re sub ^\/* path N/A path N/A N/A re sub \/*$ path N/A path N/A get_absolute_path N/A N/A base_path relative_path N/A N/A N/A path N/A N/A N/A os path join base_path relative_path N/A path N/A N/A N/A os path abspath path N/A path N/A get_relative_folder N/A N/A file_name base_directory N/A N/A N/A folder N/A N/A N/A os path dirname file_name N/A folder N/A N/A N/A os path relpath folder base_directory N/A folder N/A N/A folder . folder N/A N/A sanitize folder N/A trace N/A N/A from_folder to_folder N/A N/A N/A N/A from_folder N/A N/A N/A sanitize N/A ./ to_folder N/A bases N/A N/A from_folder split / N/A targets N/A N/A to_folder split / N/A result N/A index 0 N/A size N/A min N/A len bases N/A len targets N/A N/A N/A index size N/A N/A bases N/A index N/A targets N/A index N/A N/A index 1 N/A N/A bases N/A 0 index N/A N/A targets N/A 0 index N/A N/A N/A len bases 0 N/A N/A result ./ N/A N/A result N/A ../ N/A len bases N/A result N/A N/A / join targets N/A result N/A N/A re sub // / result N/A result N/A