MCPcopy Index your code
hub / github.com/codespell-project/codespell / is_hidden

Function is_hidden

codespell_lib/_codespell.py:778–783  ·  view source on GitHub ↗
(filename: str, check_hidden: bool)

Source from the content-addressed store, hash-verified

776
777
778def is_hidden(filename: str, check_hidden: bool) -> bool:
779 bfilename = os.path.basename(filename)
780
781 return bfilename not in ("", ".", "..") and (
782 not check_hidden and bfilename[0] == "."
783 )
784
785
786def is_text_file(filename: str) -> bool:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…