You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
488 B
JavaScript
26 lines
488 B
JavaScript
import http from "https://unpkg.com/isomorphic-git@beta/http/web/index.js";
|
|
|
|
/*
|
|
async function fsListDir(){
|
|
|
|
let dirlist = await pfs.readdir("/test-clone");
|
|
|
|
document.getElementsByTagName("body")[0].innerHTML = dirlist;
|
|
}
|
|
|
|
async function gitStatus(){
|
|
document.getElementsByTagName("body")[0].innerHTML = await git.status({
|
|
fs,
|
|
dir,
|
|
filepath: "karma.conf.js",
|
|
});
|
|
}
|
|
|
|
fsListDir()
|
|
|
|
gitStatus();
|
|
|
|
*/
|
|
|
|
const app = new Controller(new Model(), new View());
|