MCPcopy Create free account
hub / github.com/ceph/ceph / rm_file

Method rm_file

src/client/SyntheticClient.cc:2009–2013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2007}
2008
2009int SyntheticClient::rm_file(string& fn)
2010{
2011 UserPerm perms = client->pick_my_perms();
2012 return client->unlink(fn.c_str(), perms);
2013}
2014
2015int SyntheticClient::write_file(string& fn, int size, loff_t wrsize) // size is in MB, wrsize in bytes
2016{

Callers

nothing calls this directly

Calls 3

pick_my_permsMethod · 0.80
unlinkMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected