Skip to content

Inline editing with CopyFile ? #162

@gardar

Description

@gardar

It seems that currently there are two ways to do in-line file editing. Either with GetPackageOriginalFile or CreateFile.

In a situation where I have a config I want to copy that differs between systems but that file does not come from a package, and echoing the whole content of the file with CopyFile doesn't feel right.

Ideally what I would like to do is something similar to the examples you provide with inline editing using GetPackageOriginalFile, but using a file I have under files/ instead of getting it from a package.
Is there any way CopyFile or CopyFileTo can be used to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions