Skip to content

WriteToFile signature doesn't make sense #4

@afeld

Description

@afeld

The signature is a method on the Document interface, but it doesn't actually affect/use that file. Current usage:

doc.WriteToFile(path, content)

The usage would make more sense to me as one of the following:

doc.WriteToFile(content)
// or
WriteToFile(path, content)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions