crash.software
Projects
Pull Requests
Issues
Builds
thefuck
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
thefuck
Files
🤬
Sign In
master
ROOT
/
thefuck
/
utils.py
Search
History
348 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
atexit
os
pickle
re
shelve
sys
six
decorator
difflib_get_close_matches
wraps
warn
exception
settings
Path
DEVNULL
anydbm
shelve_open_error
dbm
memoize
(fn)
wrapper
(*args,**kwargs)
disabled
which
(program)
which
is_exe
(fpath)
default_settings
(params)
_default_settings
(fn,command)
get_closest
(word,possibilities,cutoff=0.6,fallback_to_first=True)
get_close_matches
(word,possibilities,n=None,cutoff=0.6)
include_path_in_search
(path)
get_all_executables
()
shell
_safe
(fn,fallback)
replace_argument
(script,from_,to)
eager
(fn,*args,**kwargs)
get_all_matched_commands
(stderr,separator='Did you mean')
replace_command
(command,broken,matched)
is_app
(command,*app_names,**kwargs)
for_app
(*app_names,**kwargs)
_for_app
(fn,command)
Cache
(object)
_db
__init__
(self)
_init_db
(self)
_setup_db
(self)
_get_cache_dir
(self)
_get_mtime
(self,path)
_get_key
(self,fn,depends_on,args,kwargs)
get_value
(self,fn,depends_on,args,kwargs)
cache
(*depends_on)
cache_decorator
(fn)
disabled
get_installation_version
()
version
pkg_resources
get_alias
()
get_valid_history_without_current
(command)
_not_corrected
(history,tf_alias)
shell
format_raw_script
(raw_script)
All occurrences
Please wait...
Page is in error, reload to recover