MCPcopy
hub / github.com/ycm-core/YouCompleteMe / BufferIsVisibleForFilename

Function BufferIsVisibleForFilename

python/ycm/vimsupport.py:1277–1280  ·  view source on GitHub ↗

Check if a buffer exists for a specific file.

( filename )

Source from the content-addressed store, hash-verified

1275
1276
1277def BufferIsVisibleForFilename( filename ):
1278 """Check if a buffer exists for a specific file."""
1279 buffer_number = GetBufferNumberForFilename( filename )
1280 return BufferIsVisible( buffer_number )
1281
1282
1283def CloseBuffersForFilename( filename ):

Callers

nothing calls this directly

Calls 2

BufferIsVisibleFunction · 0.85

Tested by

no test coverage detected