(account: string, container: string)
| 76 | } |
| 77 | |
| 78 | async getDataSourceMetaPaths(account: string, container: string): Promise<string[]> { |
| 79 | const containerClient = getContainerClient(this.dataSources, account, container); |
| 80 | const blobNames: Array<string> = []; |
| 81 | for await (const i of containerClient.listBlobsFlat()) blobNames.push(i.name); |
| 82 | const blobsToProcess = blobNames.filter( |
| 83 | (blobName) => |
| 84 | blobName.split('.').pop() === 'sigmf-meta' && blobNames.includes(blobName.split('.')[0] + '.sigmf-data') |
| 85 | ); |
| 86 | return blobsToProcess; |
| 87 | } |
| 88 | |
| 89 | async updateMeta(account: string, container: string, filePath: string, meta: SigMFMetadata): Promise<any> { |
| 90 | // Currently update meta doesnt even try to update the blob so we are just going to return here |
nothing calls this directly
no test coverage detected