Skip to content

Commit e67943a

Browse files
authored
Update localstorage.js
1 parent c740903 commit e67943a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

localstorage.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,21 @@ function updateModReposLS() {
133133
}
134134

135135

136+
// fetch repo obj and save it
137+
// to local storage
138+
async function fetchRepoAndSaveToLS(treeLoc) {
139+
140+
// get repo obj from git
141+
const repo = await git.getRepo(treeLoc);
142+
143+
// create repo obj
144+
145+
// add repo obj to local storage
146+
addRepoObjToLS
147+
148+
}
149+
150+
136151
// miscellaneous
137152

138153
function saveTreeLocLS(treeLoc) {

0 commit comments

Comments
 (0)