MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / rename

Method rename

fs/subfs.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 return underlayfs->link(oldname, newname);
147 }
148 virtual int rename(const char *oldname, const char *newname) override
149 {
150 PathCat __(this, oldname);
151 PathCat ___(this, newname);
152 return underlayfs->rename(oldname, newname);
153 }
154 virtual int unlink(const char *path) override
155 {
156 PathCat __(this, path);

Callers 2

OVERRIDE_ASYNCMethod · 0.45
xmp_renameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected