Documentation ¶ Index ¶ func ReadFileFromBytes(fpath string, content []byte) (*dbrpc.FileInfo, []byte, error) func ReadFileFromPath(fpath string) (*dbrpc.FileInfo, []byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadFileFromBytes ¶ func ReadFileFromBytes(fpath string, content []byte) (*dbrpc.FileInfo, []byte, error) func ReadFileFromPath ¶ func ReadFileFromPath(fpath string) (*dbrpc.FileInfo, []byte, error) ReadFileFromPath takes a filepath as an input i.e. /Users/blah/somefile.jpg and it will return its mimetype, abspath in FileInfo its content as slice of utf8 bytes and an error if there's any Types ¶ This section is empty. Source Files ¶ View all Source files filehelper.go Click to show internal directories. Click to hide internal directories.