I'm using custom script in order to rename/move a file, using dirvish.
Whenever I do that, OmniSharp has to be notified that the former buffer is obsolete and that it has to stop trying to use it.
One way of doing that is to send the information that the former buffer is empty, before the renaming/moving operation.
Omnisharp doesn't offer yet a way through its public interface to configure the body.Arguments.Buffer value.
I don't see a case where anyone would manually send a custom Buffer argument apart from an empty one, hence the implementation I'm suggesting using a EmptyBuffer value.
I'm using custom script in order to rename/move a file, using dirvish.
Whenever I do that, OmniSharp has to be notified that the former buffer is obsolete and that it has to stop trying to use it.
One way of doing that is to send the information that the former buffer is empty, before the renaming/moving operation.
Omnisharp doesn't offer yet a way through its public interface to configure the
body.Arguments.Buffer
value.I don't see a case where anyone would manually send a custom
Buffer
argument apart from an empty one, hence the implementation I'm suggesting using aEmptyBuffer
value.