Documentation ¶
Overview ¶
Package dsstore is a package for writing .DS_Store files on macOS. Original code from https://github.com/LinusU/node-ds-store (MIT)
Index ¶
- Variables
- type DSStore
- func (ds *DSStore) AddEntry(entry entry.Entry)
- func (ds *DSStore) SetBackgroundImage(path string)
- func (ds *DSStore) SetBgColor(r, g, b float64)
- func (ds *DSStore) SetBgToDefault()
- func (ds *DSStore) SetIconPos(name string, x, y uint32)
- func (ds *DSStore) SetIconSize(size float64)
- func (ds *DSStore) SetLabelPlaceToBottom(bottom bool)
- func (ds *DSStore) SetLabelSize(size float64)
- func (ds *DSStore) SetWindow(width, height, x, y int)
- func (ds *DSStore) Write(filePath string) error
- type Entries
Constants ¶
This section is empty.
Variables ¶
View Source
var DSStoreClean []byte
Functions ¶
This section is empty.
Types ¶
type DSStore ¶
func NewDSStore ¶
func NewDSStore() *DSStore
func (*DSStore) SetBackgroundImage ¶ added in v0.2.0
func (*DSStore) SetBgColor ¶
func (*DSStore) SetBgToDefault ¶
func (ds *DSStore) SetBgToDefault()
func (*DSStore) SetIconPos ¶
func (*DSStore) SetIconSize ¶
func (*DSStore) SetLabelPlaceToBottom ¶
func (*DSStore) SetLabelSize ¶
Click to show internal directories.
Click to hide internal directories.