Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/rigelrozanski/thranch/quac/idea
Index ¶
- Constants
- Variables
- func AddHighlighted(tag string)
- func AddTagByIdea(idea *Idea, tagToAdd string)
- func AppendLineForApp(application, appendLine string) error
- func CopyByID(id uint32) (newFilepath string)
- func EnsureBasics()
- func ExportToPDF() error
- func GetContentByID(id uint32) (content []byte, found bool)
- func GetFilenameByID(id uint32) (fileName string)
- func GetFilepathByID(id uint32) (filepath string, found bool)
- func GetForApp(application string) string
- func GetIdeaByID(id uint32, loglast bool) idea.Idea
- func GetLineage(id uint32) (compiled string)
- func GetOrigWorkingFileBytes() (origBzFN, origBzContent []byte)
- func GetStats()
- func GetTrashcanFilepathsByID(id uint32) (currFilepath, trashCanFilePath string, found bool)
- func Initialize(thranchConfigPath string)
- func ListenAudio(pathToOpen string)
- func MaxWidth(strs []string) int
- func MultiOpenByRange(startId, endId uint32, forceSplitView bool)
- func MultiOpenByTags(tags []idea.Tag, forceSplitView bool)
- func NewEmptyAudioEntry(clumpedTags string) (filepath string, id uint32)
- func Open(pathToOpen string)
- func OpenText(pathToOpen string)
- func OpenTextSplit(pathToOpenLeft, pathToOpenRight string, maxFNLen int)
- func PrintCaliColours(in colour.Colours)
- func RemoveByID(id uint32)
- func RemoveHighlighted(tag string)
- func RemoveTagByIdea(idea *Idea, tagToRemove string)
- func ReserveCopyFilename(oldFilename string, additionalClumpedTags string) (newFilename string)
- func Rotate180(imgs []image.Image) []image.Image
- func Rotate270(imgs []image.Image) []image.Image
- func Rotate90(imgs []image.Image) []image.Image
- func SaveFromWorkingFiles(origBzFN, origBzContent []byte)
- func Scan(pathToImageOrDir, opTag string)
- func ScanManual(pathToImageOrDir string)
- func SetConsume(consumedId uint32, entry string) (consumerFilepath string)
- func SetConsumes(consumedId, consumesId uint32)
- func SetEncryptionById(id uint32)
- func SetZombie(zombieId uint32)
- func UpdateEditedDateNow(updatePath string)
- func UpdateFilepathToEncrypted(Path string) string
- func View(pathToOpen string)
- func ViewImage(pathToOpen string)
- func ViewImageNoFilename(pathToOpen string)
- func ViewText(filepath string)
- func WriteIdea(filename, entry string)
- func WriteWorkingContentAndFilenamesFromFilePath(filePath string) (maxFNLen int)
- func WriteWorkingContentAndFilenamesFromIdeas(idears idea.Ideas, forceSplitView bool) (found bool, maxFNLen int, singleReturn string)
- func WriteWorkingContentAndFilenamesFromRange(startId, endId uint32, forceSplitView bool) (found bool, maxFNLen int, singleReturn string)
- func WriteWorkingContentAndFilenamesFromTags(tags []idea.Tag, forceSplitView bool) (found bool, maxFNLen int, singleReturn string)
- type Idea
- type Ideas
- type Pair
- type PairList
- type Tag
- type TagAll
- type TagBase
- type TagContains
- type TagDates
- type TagReg
- type TagWithout
Constants ¶
View Source
const ( Last = idea.Last CycleAlive = idea.CycleAlive CycleConsumed = idea.CycleConsumed CycleZombie = idea.CycleZombie KindText = idea.KindText KindImage = idea.KindImage KindAudio = idea.KindAudio KindEnText = idea.KindEnText )
View Source
const SPLIT = "SPLIT"
Variables ¶
View Source
var ( // functions aliases ValidateFilenameAsIdea = idea.ValidateFilenameAsIdea GetIdByFilename = idea.GetIdByFilename GetNextID = idea.GetNextID IncrementID = idea.IncrementID ParseID = idea.ParseID ParseIDNoLogLast = idea.ParseIDNoLogLast ParseIDOp = idea.ParseIDOp PrependLast = idea.PrependLast GetLastIDs = idea.GetLastIDs NewNonConsumingTextIdea = idea.NewNonConsumingTextIdea NewNonConsumingAudioIdea = idea.NewNonConsumingAudioIdea NewTextIdea = idea.NewTextIdea NewAudioIdea = idea.NewAudioIdea NewIdea = idea.NewIdea NewIdeaFromFile = idea.NewIdeaFromFile NewConsumingTextIdea = idea.NewConsumingTextIdea NewIdeaFromFilepath = idea.NewIdeaFromFilepath NewIdeaFromFilename = idea.NewIdeaFromFilename GetAllIdeasNonConsuming = idea.GetAllIdeasNonConsuming TagUsedInNonConsuming = idea.TagUsedInNonConsuming GetAllIdeas = idea.GetAllIdeas NewTagBase = idea.NewTagBase NewTagReg = idea.NewTagReg MustNewTagReg = idea.MustNewTagReg NewTagWithout = idea.NewTagWithout NewTagAll = idea.NewTagAll NewTagContains = idea.NewTagContains NewTagDates = idea.NewTagDates ParseTagFromString = idea.ParseTagFromString ParseFirstTagFromString = idea.ParseFirstTagFromString ConcatAllContentFromTags = idea.ConcatAllContentFromTags ParseClumpedTags = idea.ParseClumpedTags ParseStringTags = idea.ParseStringTags CombineClumpedTags = idea.CombineClumpedTags TodayDate = idea.TodayDate GetKind = idea.GetKind IdStr = idea.IdStr // variable aliases WithoutKeyword = idea.WithoutKeyword AllAliveKeyword = idea.AllAliveKeyword AllConsumedKeyword = idea.AllConsumedKeyword AllZombieKeyword = idea.AllZombieKeyword ContainsKeyword = idea.ContainsKeyword ContainsCIKeyword = idea.ContainsCIKeyword NoContainsKeyword = idea.NoContainsKeyword NoContainsCIKeyword = idea.NoContainsCIKeyword CreatedDateKeyword = idea.CreatedDateKeyword CreatedYearKeyword = idea.CreatedYearKeyword CreatedDatesKeyword = idea.CreatedDatesKeyword EditedDateKeyword = idea.EditedDateKeyword EditedDatesKeyword = idea.EditedDatesKeyword ConsumedDateKeyword = idea.ConsumedDateKeyword ConsumedDatesKeyword = idea.ConsumedDatesKeyword IdeasDir = idea.IdeasDir ConfigFile = idea.ConfigFile LastIdFile = idea.LastIdFile )
View Source
var ( QuDir string DefaultScanDir string DeleteWhenScanning bool = false TrashCanDir string QuFile string LogFile string WorkingFnsFile string WorkingContentFile string )
directory name where boards are stored in repo
View Source
var LastScanCalibrationFile string
Functions ¶
func AddHighlighted ¶
func AddHighlighted(tag string)
func AddTagByIdea ¶
func AppendLineForApp ¶
func EnsureBasics ¶
func EnsureBasics()
func ExportToPDF ¶
func ExportToPDF() error
func GetContentByID ¶
func GetFilenameByID ¶
func GetFilepathByID ¶
func GetLineage ¶
Display the immediate lineage of ideas
func GetOrigWorkingFileBytes ¶
func GetOrigWorkingFileBytes() (origBzFN, origBzContent []byte)
get the bytes of the working files (original)
func Initialize ¶
func Initialize(thranchConfigPath string)
load config and set global file directories
func ListenAudio ¶
func ListenAudio(pathToOpen string)
func MultiOpenByRange ¶
func MultiOpenByTags ¶
func NewEmptyAudioEntry ¶
func OpenTextSplit ¶
func PrintCaliColours ¶
func RemoveByID ¶
func RemoveByID(id uint32)
func RemoveHighlighted ¶
func RemoveHighlighted(tag string)
func RemoveTagByIdea ¶
func ReserveCopyFilename ¶
func SaveFromWorkingFiles ¶
func SaveFromWorkingFiles(origBzFN, origBzContent []byte)
func ScanManual ¶
func ScanManual(pathToImageOrDir string)
func SetConsume ¶
copy an idea by the id
func SetConsumes ¶
func SetConsumes(consumedId, consumesId uint32)
func SetEncryptionById ¶
func SetEncryptionById(id uint32)
func UpdateEditedDateNow ¶
func UpdateEditedDateNow(updatePath string)
func ViewImageNoFilename ¶
func ViewImageNoFilename(pathToOpen string)
func WriteIdea ¶
func WriteIdea(filename, entry string)
create an empty file in the ideas Dir based on the filename
Types ¶
type TagContains ¶
type TagContains = idea.TagContains
type TagWithout ¶
type TagWithout = idea.TagWithout
Source Files ¶
Click to show internal directories.
Click to hide internal directories.