MCPcopy Create free account
hub / github.com/SolarLune/masterplan / LoadFileFrom

Method LoadFileFrom

contents.go:1153–1158  ·  view source on GitHub ↗
(filepath string)

Source from the content-addressed store, hash-verified

1151}
1152
1153func (sc *SoundContents) LoadFileFrom(filepath string) {
1154
1155 sc.Card.Properties.Get("filepath").Set(filepath)
1156 sc.LoadFile()
1157
1158}
1159
1160func (sc *SoundContents) TogglePlayback() {
1161

Callers 5

NewSoundContentsFunction · 0.95
HandleDroppedFilesMethod · 0.45
HandleExternalPasteMethod · 0.45
OpenProjectFromFunction · 0.45
ConstructMenusFunction · 0.45

Calls 3

LoadFileMethod · 0.95
SetMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected