code: def _match_tail(path, tail):
      assert not os.path.isabs(tail), repr(tail)
      return path.endswith(os.path.sep + tail)
  
imports: import fnmatch
  import glob
  import os
  import os.path
  import shutil
  import stat
  from .iterutil import iter_many
label_desc: Use image node_id 7 for calling a global function with example usage: _match_tail(path, tail) and returns: path