def get_file_meta(self, path):
        """
        Returns metadata for given file path
        """
        if self.tree is None:
            self.read_index()

        if path not in self.tree:
            raise KeyError("Path doesn't exist")

        return self._make_meta_dict(self.tree[path])
Returns metadata for given file path