Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
MemoizedZipManifests Class Reference
Inheritance diagram for MemoizedZipManifests:
Collaboration diagram for MemoizedZipManifests:

Public Member Functions

 load (self, path)
 
- Public Member Functions inherited from ZipManifests
 build (cls, path)
 

Static Public Attributes

 manifest_mod = collections.namedtuple('manifest_mod', 'manifest mtime')
 
- Static Public Attributes inherited from ZipManifests

Detailed Description

Memoized zipfile manifests.

Definition at line 1791 of file __init__.py.

Member Function Documentation

◆ load()

load (   self,
  path 
)
Load a manifest at path or return a suitable manifest already loaded.

Reimplemented from ZipManifests.

Definition at line 1798 of file __init__.py.

1798 def load(self, path):
1799 """
1800 Load a manifest at path or return a suitable manifest already loaded.
1801 """
1802 path = os.path.normpath(path)
1803 mtime = os.stat(path).st_mtime
1804
1805 if path not in self or self[path].mtime != mtime:
1806 manifest = self.build(path)
1807 self[path] = self.manifest_mod(manifest, mtime)
1808
1809 return self[path].manifest
1810
1811
for i

Field Documentation

◆ manifest_mod

manifest_mod = collections.namedtuple('manifest_mod', 'manifest mtime')
static

Definition at line 1796 of file __init__.py.


The documentation for this class was generated from the following file: