Skip to content

terminal/starbind: add 'append_file" built-in func#4252

Merged
aarzilli merged 3 commits intogo-delve:masterfrom
sding3:append-file-func
Feb 13, 2026
Merged

terminal/starbind: add 'append_file" built-in func#4252
aarzilli merged 3 commits intogo-delve:masterfrom
sding3:append-file-func

Conversation

@sding3
Copy link
Contributor

@sding3 sding3 commented Feb 6, 2026

This change adds the 'append_file' which will append the specified string to the specified OS file.
This update also fixes #4222.

Testing

append.star:

def command_append(args):
  append_file("./debug.txt", 'xxx\n')
  dlv_command("continue")

/debug.txt:

xxx
xxx
xxx

This change adds the 'append_file' which will append the
specified string to the specified OS file
see if that will make CI happy or not
Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aarzilli aarzilli merged commit 7ced495 into go-delve:master Feb 13, 2026
6 of 8 checks passed
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.

Unexpected output when using write_file() in starlark script

4 participants