code: def from_base(cls, base):
          
          time = pack(">LL", 0, 0)
          return IndexEntry((base.mode, base.binsha, base.flags, base.path, time, time, 0, 0, 0, 0, 0))
docs: :return:
              Minimal entry as created from the given BaseIndexEntry instance.
              Missing values will be set to null-like values
  
          :param base: Instance of type BaseIndexEntry