Documentation ¶
Index ¶
- Constants
- func IdentifyPicasaFS(root string) bool
- type PicasaFS
- func (fs *PicasaFS) CAccess(name string, mode uint32, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CChmod(name string, mode uint32, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CChown(name string, uid uint32, gid uint32, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CCreate(name string, flags uint32, mode uint32, fctx *fuse.Context, ctx picfs.Context) (nodefs.File, fuse.Status)
- func (fs *PicasaFS) CGetAttr(name string, fctx *fuse.Context, ctx picfs.Context) (attr *fuse.Attr, status fuse.Status)
- func (fs *PicasaFS) CGetXAttr(name string, attribute string, fctx *fuse.Context, ctx picfs.Context) ([]byte, fuse.Status)
- func (fs *PicasaFS) CLink(oldName string, newName string, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CListXAttr(name string, fctx *fuse.Context, ctx picfs.Context) ([]string, fuse.Status)
- func (fs *PicasaFS) CMkdir(name string, mode uint32, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CMknod(name string, mode uint32, dev uint32, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) COpen(name string, flags uint32, fctx *fuse.Context, ctx picfs.Context) (nodefs.File, fuse.Status)
- func (fs *PicasaFS) COpenDir(name string, fctx *fuse.Context, ctx picfs.Context) ([]fuse.DirEntry, fuse.Status)
- func (fs *PicasaFS) CReadlink(name string, fctx *fuse.Context, ctx picfs.Context) (string, fuse.Status)
- func (fs *PicasaFS) CRemoveXAttr(name string, attr string, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CRename(oldName string, newName string, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CRmdir(name string, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CSetXAttr(name string, attr string, data []byte, flags int, fctx *fuse.Context, ...) fuse.Status
- func (fs *PicasaFS) CSymlink(value string, linkName string, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CTruncate(name string, size uint64, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CUnlink(name string, fctx *fuse.Context, ctx picfs.Context) fuse.Status
- func (fs *PicasaFS) CUtimens(name string, Atime *time.Time, Mtime *time.Time, fctx *fuse.Context, ...) fuse.Status
- func (fs *PicasaFS) StatFs(name string) *fuse.StatfsOut
- func (fs *PicasaFS) String() string
Constants ¶
View Source
const ( PICASA_INI_FILE = ".picasa.ini" NOMEDIA_FILE = ".nomedia" PICASA_VDIR_prefix = "!" PICASA_VDIR_STARRED = "STARRED" )
globals
View Source
const ( RULE_IDENT_ROOT = 1 RULE_MATCH_ROOT = "^$" RULE_IDENT_ROOT_STARRED_DIR = 10 RULE_MATCH_ROOT_STARRED_DIR = "^" + PICASA_VDIR_prefix + PICASA_VDIR_STARRED + "$" RULE_IDENT_ROOT_STARRED_YEAR = 11 RULE_MATCH_ROOT_STARRED_YEAR = "^" + PICASA_VDIR_prefix + PICASA_VDIR_STARRED + "/(\\d{4})$" RULE_IDENT_ROOT_STARRED_YEAR_FILE = 12 RULE_MATCH_ROOT_STARRED_YEAR_FILE = "^" + PICASA_VDIR_prefix + PICASA_VDIR_STARRED + "/\\d{4}/" + rule_MATCH_FILE + "$" RULE_IDENT_SUBDIR_STARRED_DIR = 100 RULE_MATCH_SUBDIR_STARRED_DIR = "^(.*)/" + PICASA_VDIR_prefix + PICASA_VDIR_STARRED + "$" RULE_IDENT_SUBDIR_STARRED_FILE = 101 RULE_MATCH_SUBDIR_STARRED_FILE = "^(.*)/" + PICASA_VDIR_prefix + PICASA_VDIR_STARRED + "/" + rule_MATCH_FILE + "$" )
rules ident
View Source
const (
CACHE_EXPIRE = 1800
)
other presets
Variables ¶
This section is empty.
Functions ¶
func IdentifyPicasaFS ¶
Types ¶
type PicasaFS ¶
PicasaFS definition
func NewPicasaFS ¶
func (*PicasaFS) CListXAttr ¶
func (*PicasaFS) CRemoveXAttr ¶
Click to show internal directories.
Click to hide internal directories.