Cache class

Constructors

Cache()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getApiFileForRef(String repoPath, String ref) File
Gets the path for an API file cached for a specific git ref
getCacheDir() Directory
Gets the root cache directory
getRepositoryCacheDir(String repoPath) Directory
Gets the cache directory for a specific repository
hasApiFile(String repoPath, String ref) bool
Checks if API documentation exists for a specific git ref
hasApiFileForRef(String repoPath, String ref) bool
listCachedRefs(String repoPath) List<String>
Lists all cached refs for a repository
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveApiFile(String repoPath, String ref) Future<String?>
Retrieves API documentation for a specific git ref
storeApiFile(String repoPath, String ref, String content) Future<void>
Stores API documentation for a specific git ref
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

cacheDir → const String