Skip to content

Layers: remove duplication in LeechCoreFile#1989

Open
eve-mem wants to merge 1 commit into
volatilityfoundation:developfrom
eve-mem:leechcore_202606
Open

Layers: remove duplication in LeechCoreFile#1989
eve-mem wants to merge 1 commit into
volatilityfoundation:developfrom
eve-mem:leechcore_202606

Conversation

@eve-mem

@eve-mem eve-mem commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Super simple one.

I spotted some duplication of _chunk_size in the init for the leechcore layer.

        def __init__(self, leechcore_device):
            self._chunk_size = 0x1000000
            self._device = leechcore_device
            self._cursor = 0
            self._handle = None
            self._pad = True
            self._chunk_size = 0x1000000

This just removes one of the lines.

Thanks
🦊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant