(wf *filestore.WaveFile)
| 792 | } |
| 793 | |
| 794 | func waveFileToWaveFileInfo(wf *filestore.WaveFile) *wshrpc.WaveFileInfo { |
| 795 | return &wshrpc.WaveFileInfo{ |
| 796 | ZoneId: wf.ZoneId, |
| 797 | Name: wf.Name, |
| 798 | Opts: wf.Opts, |
| 799 | CreatedTs: wf.CreatedTs, |
| 800 | Size: wf.Size, |
| 801 | ModTs: wf.ModTs, |
| 802 | Meta: wf.Meta, |
| 803 | } |
| 804 | } |
| 805 | |
| 806 | func (ws *WshServer) BlockInfoCommand(ctx context.Context, blockId string) (*wshrpc.BlockInfoData, error) { |
| 807 | blockData, err := wstore.DBMustGet[*waveobj.Block](ctx, blockId) |