Skip to content

Commit ea0a453

Browse files
committed
tmp
1 parent 8a937e3 commit ea0a453

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/IFileReference.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { IBag } from "../IBag";
1+
import { IBag} from "../IBag;
22

33
export interface IFileReference {
44
path: string;
5-
metadata: IBag<any>;
5+
metadata: Bag<any>;
66
}

src/githubBlobStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ProgressPromise } from "./../progressPromise";
22
import { IBlobStorage } from "./../persistence/IBlobStorage";
3-
import { IBag } from '../IBag';
3+
import { Bag } from '../Bag';
44
import { IGithubClient } from '../github/IGithubClient';
55
import { IFileReference } from '../github/IFileReference';
66
import { IGithubFile } from '../github/IGithubFile';

src/githubObjectStorage.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// import { IBag } from '../IBag';
1+
// import { Bag } from '../Bag';
22
// import { ILocalCache } from '../caching/ILocalCache';
33
// import { IGithubClient } from '../github/IGithubClient';
44
// import { IFileReference } from '../github/IFileReference';
@@ -18,7 +18,7 @@
1818
// private readonly githubClient: IGithubClient;
1919
// private readonly indexFileName: string;
2020

21-
// public index: IBag<IFileReference>;
21+
// public index: Bag<IFileReference>;
2222

2323
// constructor(localCache: ILocalCache, githubClient: IGithubClient) {
2424
// this.localCache = localCache;
@@ -31,7 +31,7 @@
3131
// this.indexFileName = githubClient.repositoryName;
3232
// }
3333

34-
// private getIndex(): Promise<IBag<IFileReference>> {
34+
// private getIndex(): Promise<Bag<IFileReference>> {
3535
// if (!this.index[this.indexFileName]) {
3636
// let indexFileContent = this.localCache.getItem<string>(this.indexFileName);
3737

@@ -143,7 +143,7 @@
143143
// }
144144
// }
145145

146-
// // addObject<T>(path:string, content:T, metadata:Paperbits.IBag<string>) {
146+
// // addObject<T>(path:string, content:T, metadata:Paperbits.Bag<string>) {
147147
// // this.localCache.setItem(path, content);
148148
// //
149149
// // this.index[path] = {
@@ -162,7 +162,7 @@
162162
// }
163163

164164
// public searchObjectsByMetadata(path: string, metadataKey: Array<string>, metadataValue: string, exactSearch: boolean): Promise<Array<IFileReference>> {
165-
// return this.getIndex().then((index: IBag<IFileReference>) => {
165+
// return this.getIndex().then((index: Bag<IFileReference>) => {
166166
// let result = new Array<IFileReference>();
167167

168168
// for (let key in index) {
@@ -229,7 +229,7 @@
229229
// // }
230230
// // }
231231

232-
// public updateObjectsMetadata(path: string, metadata: IBag<string>) {
232+
// public updateObjectsMetadata(path: string, metadata: Bag<string>) {
233233
// let reference: IFileReference = this.index[path];
234234
// $.extend(reference.metadata, metadata);
235235
// }

0 commit comments

Comments
 (0)