MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / dfs_dentry_create

Function dfs_dentry_create

components/dfs/dfs_v2/src/dfs_dentry.c:108–111  ·  view source on GitHub ↗

* @brief Create a new directory entry (dentry) with absolute path * * @param[in] mnt Pointer to the mount point structure * @param[in] fullpath Absolute path string for the dentry * * @return struct dfs_dentry* Pointer to newly created dentry, or NULL if creation failed * * @note This is a wrapper for _dentry_create() with is_rela_path set to RT_FALSE * @see _dentry_create() */

Source from the content-addressed store, hash-verified

106 * @see _dentry_create()
107 */
108struct dfs_dentry *dfs_dentry_create(struct dfs_mnt *mnt, char *fullpath)
109{
110 return _dentry_create(mnt, fullpath, RT_FALSE);
111}
112
113/**
114 * @brief Create a new directory entry (dentry) with relative path

Callers 3

dfs_file_openFunction · 0.85
dfs_file_linkFunction · 0.85
dfs_file_renameFunction · 0.85

Calls 1

_dentry_createFunction · 0.85

Tested by

no test coverage detected