Config
This section contains the reference for the implementation of tokei's Config
struct.
Config ¶
A configuration struct for how Languages.get_statistics searches and counts languages.
References¶
Examples¶
columns
property
¶
Width of columns to be printed to the terminal. This option is ignored in the library. Default: Auto detected width of the terminal. tokei reference.
from_config_files
staticmethod
¶
Creates a Config from three configuration files if they are available. tokei reference.
hidden
property
¶
Count hidden files and directories. Default: false. tokei reference.
no_ignore
property
¶
Don't respect ignore files (.gitignore, .ignore, etc.). tokei reference.
no_ignore_dot
property
¶
Don't respect .ignore and .tokeignore files, including those in parent directories. Default: false. tokei reference.
no_ignore_parent
property
¶
Don't respect ignore files (.gitignore, .ignore, etc.) in parent directories. Default: false. tokei reference.
no_ignore_vcs
property
¶
Don't respect VCS ignore files (.gitignore, .hgignore, etc.), including those in parent directories. Default: false. tokei reference.
treat_doc_strings_as_comments
property
¶
Whether to treat doc strings in languages as comments. Default: false. tokei reference.