Documentation ¶
Index ¶
- func BasePath(ctx context.Context, name string) string
- func Create(ctx context.Context, name string) (*os.File, error)
- func CreateTemp(ctx context.Context, pattern string) (*os.File, error)
- func Mkdir(ctx context.Context, path string, perm os.FileMode) error
- func MkdirAll(ctx context.Context, path string, perm os.FileMode) error
- func OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (*os.File, error)
- func WithDefault(ctx context.Context, basePath string, tempPath string, userID int, groupID int) context.Context
- func WriteFile(ctx context.Context, name string, data []byte, perm os.FileMode) error
- type Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDefault ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.