Documentation ¶ Index ¶ type DirCache func New(client *putio.Client, requestTimeout time.Duration, remoteFolderID int64) *DirCache func (c *DirCache) Clear() func (c *DirCache) Debug() func (c *DirCache) Mkdirp(ctx context.Context, relpath string) (int64, error) func (c *DirCache) Set(relpath string, id int64) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DirCache ¶ type DirCache struct { // contains filtered or unexported fields } DirCache holds a map for accessing IDs by path. func New ¶ func New(client *putio.Client, requestTimeout time.Duration, remoteFolderID int64) *DirCache func (*DirCache) Clear ¶ func (c *DirCache) Clear() func (*DirCache) Debug ¶ func (c *DirCache) Debug() func (*DirCache) Mkdirp ¶ func (c *DirCache) Mkdirp(ctx context.Context, relpath string) (int64, error) func (*DirCache) Set ¶ func (c *DirCache) Set(relpath string, id int64) Source Files ¶ View all Source files dircache.go Click to show internal directories. Click to hide internal directories.