Skip to content

package editor_embedded_content

import "kaiju/editor/editor_embedded_content"

Types

EditorContent

struct

type EditorContent struct {
    Pfs *project_file_system.FileSystem
}

EditorContent.Cache

func (EditorContent) Cache(key string, data []byte)

EditorContent.CacheClear

func (EditorContent) CacheClear()

EditorContent.CacheRemove

func (EditorContent) CacheRemove(key string)

EditorContent.Close

func (EditorContent) Close()

EditorContent.Exists

func (e EditorContent) Exists(key string) bool

EditorContent.PostWindowCreate

func (a *EditorContent) PostWindowCreate(assets.PostWindowCreateHandle) error

EditorContent.Read

func (e EditorContent) Read(key string) ([]byte, error)

EditorContent.ReadText

func (e EditorContent) ReadText(key string) (string, error)