Login
Artifact [1b67ee9c26]
Login

Artifact 1b67ee9c269dafa4377e71b9884deb070d65b4ae:



const f = Fossil.createContext()

var c = f.loadBlob('trunk')
assert 'buffer' === typename c
assert [c.length] > 0
// print(c)

assert catch {f.loadBlob('xyzyz')} inherits api.Exception
c = f.loadBlob(1)
assert 'buffer' === typename c


const diffOpt = object {
    text: true,
    //sbsWidth: 40,
    //html: true,
    inline: true
}
c = f.artifactDiff('prev', 'current', diffOpt) // will diff the manifests, not their contents
assert c inherits api.prototypes.Buffer
assert 'buffer' === typename c
assert c.length() > 0