(ctx context.Context, data wshrpc.CommandRenameAppFileData)
| 1113 | } |
| 1114 | |
| 1115 | func (ws *WshServer) RenameAppFileCommand(ctx context.Context, data wshrpc.CommandRenameAppFileData) error { |
| 1116 | if data.AppId == "" { |
| 1117 | return fmt.Errorf("must provide an appId to RenameAppFileCommand") |
| 1118 | } |
| 1119 | return waveappstore.RenameAppFile(data.AppId, data.FromFileName, data.ToFileName) |
| 1120 | } |
| 1121 | |
| 1122 | func (ws *WshServer) WriteAppSecretBindingsCommand(ctx context.Context, data wshrpc.CommandWriteAppSecretBindingsData) error { |
| 1123 | if data.AppId == "" { |
nothing calls this directly
no test coverage detected