storage admin browser
This commit is contained in:
@@ -1696,7 +1696,12 @@ export const listBlobHierarchical = async (
|
||||
export async function listBlobHierarchicalForUser(containerClient) {
|
||||
const blobNames = [];
|
||||
for await (const blob of containerClient.listBlobsFlat()) {
|
||||
blobNames.push(blob.name);
|
||||
// blobNames.push(blob.name);
|
||||
|
||||
blobNames.push({
|
||||
name: blob.name,
|
||||
size: blob.properties.contentLength || 0, // in bytes
|
||||
});
|
||||
}
|
||||
return blobNames;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user