MCPcopy Create free account
hub / github.com/KDE/kdiff3 / isEmpty

Method isEmpty

src/SourceData.h:111–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 void copyBufFrom(const FileData& src);
110
111 [[nodiscard]] bool isEmpty() const { return mDataSize == 0; }
112
113 [[nodiscard]] bool isText() const { return m_bIsText || isEmpty(); }
114 [[nodiscard]] inline bool hasEOLTermiantion() const { return m_bIsText && mHasEOLTermination; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected