Skip to content

Commit

Permalink
Rearranged.
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Sjögren committed Mar 15, 2018
1 parent 8ba09d5 commit c7752b6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

How to develop for Azure in Typescript

[Blob Storage](blobstorage)
[Blob Storage](src/blobstorage)
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {BlobService, ServiceResponse} from "azure-storage";
import * as path from "path";
import {Writable} from "stream";
import * as fs from 'fs';
import {AsynchronousCallback} from "../common/typeDefinitions";

export type AsynchronousCallback = (error?:Error) => void;

class AzureDocuments {

class AzureBlobStorageHandler {

private readonly containerName: string = "MyContainer";
private readonly storageAccountOrConnectionString: string = "<storageAccountOrConnectionString>";
Expand Down
4 changes: 3 additions & 1 deletion blobstorage/README.md → src/blobstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ connectAndCreateContainer(callback: Function): void {
}
});
}
```
```

For a more complete example, see
1 change: 1 addition & 0 deletions src/common/typeDefinitions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export type AsynchronousCallback = (error?:Error) => void;

0 comments on commit c7752b6

Please sign in to comment.