Page MenuHomeMusing Studio

files_win.go
No OneTemporary

files_win.go

// +build windows
package config
import (
"fmt"
"os"
"os/exec"
)
const (
NoEditorErr = "Error getting default editor. You shouldn't see this, so let us know you did: hello@write.as"
)
func parentDataDir() string {
return os.Getenv("APPDATA")
}
func EditPostCmd(fname string) *exec.Cmd {
// NOTE this won't work if fname contains spaces.
return exec.Command("cmd", "/C copy con "+fname)
}
func MessageRetryCompose(fname string) string {
return fmt.Sprintf("To retry this post, run:\n type %s | writeas.exe", fname)
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 3:24 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3135637

Event Timeline