compass.config.get_source_file

compass.config.get_source_file(source_path, source, config)[source]

Get an absolute path given a tag name for that path

Parameters
  • source_path (str) – The keyword path for a path as defined in Config files, a config option from a relative or absolute directory for the source

  • source (str) – The basename or relative path of the source within the source_path directory

  • config (configparser.ConfigParser) – Configuration options used to determine the the absolute paths for the given source_path