utils

package
v0.0.0-...-c144a73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfProjDir

func CheckIfProjDir() (bool, string, error)

CheckIfProjDir checks if the current directory is a project directory by checking for the presence of a .git directory in the current directory or any of its parent directories.

func ExpandPath

func ExpandPath(path string) (string, error)

ExpandPath the path to include the user's home directory

func OpenNoteInEditor

func OpenNoteInEditor(editor string, notePaths ...string)

openNoteInEditor Opens the note in the editor

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL