8000 Unused arguments in `DocumentFile.getContent` · Issue #107 · libsrcdev/shared-storage · GitHub
[go: up one dir, main page]

Skip to content

Unused arguments in DocumentFile.getContent #107

@clragon

Description

@clragon

Describe the bug
Both DocumentFile.getContent and DocumentFile.getContentAsString demand a parameter called Uri destination.
It is unclear to me why this parameter is needed and it is entirely unused in the code.

Expected behavior
I would assume that neither of those functions would take a parameter, as their location is already available in the properties of the DocumentFile itself.

shared_storage:

  • Version 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0