MCPcopy Index your code
hub / github.com/ycm-core/YouCompleteMe / BufferIsUsable

Function BufferIsUsable

python/ycm/vimsupport.py:603–604  ·  view source on GitHub ↗
( buffer_object )

Source from the content-addressed store, hash-verified

601
602
603def BufferIsUsable( buffer_object ):
604 return not BufferModified( buffer_object ) or HiddenEnabled( buffer_object )
605
606
607def EscapeFilepathForVimCommand( filepath ):

Callers 1

GetVimCommandFunction · 0.85

Calls 2

BufferModifiedFunction · 0.85
HiddenEnabledFunction · 0.85

Tested by

no test coverage detected