MCPcopy Create free account
hub / github.com/anestisb/android-simg2img / AddToSparseFile

Method AddToSparseFile

sparse_read.cpp:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 int AddToSparseFile(struct sparse_file* s, int64_t len, unsigned int block) override {
100 return sparse_file_add_fd(s, fd, GetOffset(), len, block);
101 }
102
103 int ReadValue(void* ptr, int len) override { return read_all(fd, ptr, len); }
104

Callers 1

process_raw_chunkFunction · 0.45

Calls 1

sparse_file_add_fdFunction · 0.85

Tested by

no test coverage detected