filename_capitalization_matches

Summary

filename_capitalization_matches(filename_on_disk: str, filename_reference: str) bool

Checks to see if the filename found on disk matches the capitalization found in the descriptor.

Parameters:
  • filename_on_disk (str) – The filename that actually exists, in string form.

  • filename_reference (str) – The filename _reference_. Most likely, this will be the filename as seen in the descriptor.

Returns:

True if the files’ capitalization matches, False if it doesn’t.

Return type:

bool

Importing

from cs_board_tools.validation.naming import filename_capitalization_matches