Example #1
0
    def setup(self):
        assert not self.isSetup

        self.isSetup = True

        if os.path.isdir(self.path):
            raise StandardError("Sandbox path already exists %s" % self.path)

        for c in self.componentsToUse:
            self.builder.copyComponent(c, self.path)

        self.initialDigests = digestsInPath(self.path, relative=False)
Example #2
0
    def setup(self):
        assert not self.isSetup

        self.isSetup = True

        if os.path.isdir(self.path):
            raise StandardError("Sandbox path already exists %s" % self.path)

        for c in self.componentsToUse:
            self.builder.copyComponent(c, self.path)

        self.initialDigests = digestsInPath(self.path, relative=False)
Example #3
0
    def changes(self):
        assert self.isSetup

        digests = digestsInPath(self.path, relative=False)

        return differencesBetweenDigests(self.initialDigests, digests)
Example #4
0
    def changes(self):
        assert self.isSetup

        digests = digestsInPath(self.path, relative=False)

        return differencesBetweenDigests(self.initialDigests, digests)