MCPcopy Create free account
hub / github.com/ycm-core/YouCompleteMe / GetBufferData

Function GetBufferData

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

Source from the content-addressed store, hash-verified

119
120
121def GetBufferData( buffer_object ):
122 return {
123 # Add a newline to match what gets saved to disk. See #1455 for details.
124 'contents': JoinLinesAsUnicode( buffer_object ) + '\n',
125 'filetypes': FiletypesForBuffer( buffer_object )
126 }
127
128
129def GetUnsavedAndSpecifiedBufferData( included_buffer, included_filepath ):

Callers 1

Calls 1

FiletypesForBufferFunction · 0.85

Tested by

no test coverage detected