projects
/
invirt/packages/python-afs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
75653e29fa2df65b8e3310e2782d38a661fbb20b
[invirt/packages/python-afs.git]
/
afs
/
_fs.pyx
1
from afs cimport *
2
from afs import pyafs_error
3
4
def whichcell(char* path):
5
"""Determine which AFS cell a particular path is in."""
6
cdef char cell[MAXCELLCHARS]
7
8
pioctl_read(path, VIOC_FILE_CELL_NAME, cell, sizeof(cell), 1)
9
return cell