@property
    def bytes(self):
        try:
            return os.stat(self.filename).st_size
        except (OSError, __HOLE__):
            return 0
dataset/ETHPy150Open lektor/lektor-archive/lektor/filecontents.py/FileContents.bytes