refactor: remove unused line range options from text meta plugin
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -428,7 +428,7 @@ impl MetaPlugin for TextMetaPlugin {
|
|||||||
|
|
||||||
let mut metadata = Vec::new();
|
let mut metadata = Vec::new();
|
||||||
|
|
||||||
// Check if we have head/tail/line range options that would affect processing
|
// Check if we have head/tail options that would affect processing
|
||||||
// These options come from the base plugin's options
|
// These options come from the base plugin's options
|
||||||
let head_bytes = self.base.options.get("head_bytes")
|
let head_bytes = self.base.options.get("head_bytes")
|
||||||
.and_then(|v| v.as_u64())
|
.and_then(|v| v.as_u64())
|
||||||
@@ -560,7 +560,7 @@ impl MetaPlugin for TextMetaPlugin {
|
|||||||
|
|
||||||
let mut metadata = Vec::new();
|
let mut metadata = Vec::new();
|
||||||
|
|
||||||
// Check if we have head/tail/line range options
|
// Check if we have head/tail options
|
||||||
let head_bytes = self.base.options.get("head_bytes")
|
let head_bytes = self.base.options.get("head_bytes")
|
||||||
.and_then(|v| v.as_u64())
|
.and_then(|v| v.as_u64())
|
||||||
.map(|v| v as usize);
|
.map(|v| v as usize);
|
||||||
|
|||||||
Reference in New Issue
Block a user