mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 08:51:02 -06:00
ccc20fdad1
Uses Levenshtein distance to decide if the input is similar enough to one of the given suggestions, and returns that suggestion if so. The distance threshold of three was arrived at experimentally, and has no objective basis. |
||
---|---|---|
.. | ||
name_suggestion_test.go | ||
name_suggestion.go |