Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ get
Method
get
packages/core/ui/image-cache/index.ios.ts:80–82 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
78
}
79
80
public get(key: string): any {
81
return
this._cache.objectForKey(key);
82
}
83
84
public set(key: string, image: any): void {
85
this._cache.setObjectForKey(image, key);
Callers
2
test_ImageCache_ValidUrl
Function · 0.95
test_ImageCache_NothingAtProvidedUrl
Function · 0.95
Calls
1
objectForKey
Method · 0.80
Tested by
no test coverage detected