Function
fetchMeta
(
client: MetadataClient,
type: string,
account: string,
container: string,
filePath: string
)
Source from the content-addressed store, hash-verified
| 7 | import { CLIENT_TYPE_API, SmartQueryResult } from '../Models'; |
| 8 | |
| 9 | export const fetchMeta = async ( |
| 10 | client: MetadataClient, |
| 11 | type: string, |
| 12 | account: string, |
| 13 | container: string, |
| 14 | filePath: string |
| 15 | ) => { |
| 16 | const response = await client.getMeta(account, container, filePath); |
| 17 | return response; |
| 18 | }; |
| 19 | |
| 20 | const updateDataSourceMeta = async ( |
| 21 | client: MetadataClient, |
Tested by
no test coverage detected