Manager: Add feature to selectively comment and uncomment
This commit is contained in:
+8
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Riyyi
|
||||
* Copyright (C) 2021-2022 Riyyi
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
@@ -55,6 +55,13 @@ File& File::append(std::string data)
|
||||
return *this;
|
||||
}
|
||||
|
||||
File& File::replace(size_t index, size_t length, const std::string& data)
|
||||
{
|
||||
m_data.replace(index, length, data);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
File& File::flush()
|
||||
{
|
||||
// Create output stream object and open file
|
||||
|
||||
Reference in New Issue
Block a user