repository_name stringlengths 5 67 | func_path_in_repository stringlengths 4 234 | func_name stringlengths 0 314 | whole_func_string stringlengths 52 3.87M | language stringclasses 6
values | func_code_string stringlengths 52 3.87M | func_documentation_string stringlengths 1 47.2k | func_code_url stringlengths 85 339 |
|---|---|---|---|---|---|---|---|
clalancette/pycdlib | pycdlib/rockridge.py | RRPNRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge POSIX Device Number
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdl... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge POSIX Device Number
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdl... | Generate a string representing the Rock Ridge POSIX Device Number
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L800-L814 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Symbolic Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexceptio... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Symbolic Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexceptio... | Parse a Rock Ridge Symbolic Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L993-L1029 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.add_component | def add_component(self, symlink_comp):
# type: (bytes) -> None
'''
Add a new component to this symlink record.
Parameters:
symlink_comp - The string to add to this symlink record.
Returns:
Nothing.
'''
if not self._initialized:
raise... | python | def add_component(self, symlink_comp):
# type: (bytes) -> None
'''
Add a new component to this symlink record.
Parameters:
symlink_comp - The string to add to this symlink record.
Returns:
Nothing.
'''
if not self._initialized:
raise... | Add a new component to this symlink record.
Parameters:
symlink_comp - The string to add to this symlink record.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1046-L1062 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.current_length | def current_length(self):
# type: () -> int
'''
Calculate the current length of this symlink record.
Parameters:
None.
Returns:
Length of this symlink record.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibInternalError(... | python | def current_length(self):
# type: () -> int
'''
Calculate the current length of this symlink record.
Parameters:
None.
Returns:
Length of this symlink record.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibInternalError(... | Calculate the current length of this symlink record.
Parameters:
None.
Returns:
Length of this symlink record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1064-L1081 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Symbolic Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.Py... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Symbolic Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.Py... | Generate a string representing the Rock Ridge Symbolic Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1083-L1100 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.name | def name(self):
# type: () -> bytes
'''
Generate a string that contains all components of the symlink.
Parameters:
None
Returns:
String containing all components of the symlink.
'''
if not self._initialized:
raise pycdlibexception.Py... | python | def name(self):
# type: () -> bytes
'''
Generate a string that contains all components of the symlink.
Parameters:
None
Returns:
String containing all components of the symlink.
'''
if not self._initialized:
raise pycdlibexception.Py... | Generate a string that contains all components of the symlink.
Parameters:
None
Returns:
String containing all components of the symlink. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1102-L1131 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.set_last_component_continued | def set_last_component_continued(self):
# type: () -> None
'''
Set the previous component of this SL record to continued.
Parameters:
None.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibInternalError('... | python | def set_last_component_continued(self):
# type: () -> None
'''
Set the previous component of this SL record to continued.
Parameters:
None.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibInternalError('... | Set the previous component of this SL record to continued.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1148-L1164 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.last_component_continued | def last_component_continued(self):
# type: () -> bool
'''
Determines whether the previous component of this SL record is a
continued one or not.
Parameters:
None.
Returns:
True if the previous component of this SL record is continued, False otherwise.
... | python | def last_component_continued(self):
# type: () -> bool
'''
Determines whether the previous component of this SL record is a
continued one or not.
Parameters:
None.
Returns:
True if the previous component of this SL record is continued, False otherwise.
... | Determines whether the previous component of this SL record is a
continued one or not.
Parameters:
None.
Returns:
True if the previous component of this SL record is continued, False otherwise. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1166-L1183 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSLRecord.length | def length(symlink_components):
# type: (List[bytes]) -> int
'''
Static method to return the length of the Rock Ridge Symbolic Link
record.
Parameters:
symlink_components - A list containing a string for each of the
symbolic link components... | python | def length(symlink_components):
# type: (List[bytes]) -> int
'''
Static method to return the length of the Rock Ridge Symbolic Link
record.
Parameters:
symlink_components - A list containing a string for each of the
symbolic link components... | Static method to return the length of the Rock Ridge Symbolic Link
record.
Parameters:
symlink_components - A list containing a string for each of the
symbolic link components.
Returns:
The length of this record in bytes. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1209-L1224 |
clalancette/pycdlib | pycdlib/rockridge.py | RRNMRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Alternate Name record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexcepti... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Alternate Name record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexcepti... | Parse a Rock Ridge Alternate Name record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1239-L1266 |
clalancette/pycdlib | pycdlib/rockridge.py | RRNMRecord.new | def new(self, rr_name):
# type: (bytes) -> None
'''
Create a new Rock Ridge Alternate Name record.
Parameters:
rr_name - The name for the new record.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalE... | python | def new(self, rr_name):
# type: (bytes) -> None
'''
Create a new Rock Ridge Alternate Name record.
Parameters:
rr_name - The name for the new record.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalE... | Create a new Rock Ridge Alternate Name record.
Parameters:
rr_name - The name for the new record.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1268-L1284 |
clalancette/pycdlib | pycdlib/rockridge.py | RRNMRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Alternate Name record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.P... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Alternate Name record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.P... | Generate a string representing the Rock Ridge Alternate Name record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1286-L1299 |
clalancette/pycdlib | pycdlib/rockridge.py | RRCLRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Child Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.P... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Child Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.P... | Parse a Rock Ridge Child Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1344-L1368 |
clalancette/pycdlib | pycdlib/rockridge.py | RRCLRecord.new | def new(self):
# type: () -> None
'''
Create a new Rock Ridge Child Link record.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('CL record already initialized!')
sel... | python | def new(self):
# type: () -> None
'''
Create a new Rock Ridge Child Link record.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('CL record already initialized!')
sel... | Create a new Rock Ridge Child Link record.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1370-L1385 |
clalancette/pycdlib | pycdlib/rockridge.py | RRCLRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Child Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Child Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | Generate a string representing the Rock Ridge Child Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1387-L1400 |
clalancette/pycdlib | pycdlib/rockridge.py | RRCLRecord.set_log_block_num | def set_log_block_num(self, bl):
# type: (int) -> None
'''
Set the logical block number for the child.
Parameters:
bl - Logical block number of the child.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdlib... | python | def set_log_block_num(self, bl):
# type: (int) -> None
'''
Set the logical block number for the child.
Parameters:
bl - Logical block number of the child.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdlib... | Set the logical block number for the child.
Parameters:
bl - Logical block number of the child.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1402-L1415 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPLRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Parent Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Parent Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.... | Parse a Rock Ridge Parent Link record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1445-L1468 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPLRecord.new | def new(self):
# type: () -> None
'''
Generate a string representing the Rock Ridge Parent Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInter... | python | def new(self):
# type: () -> None
'''
Generate a string representing the Rock Ridge Parent Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInter... | Generate a string representing the Rock Ridge Parent Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1470-L1485 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPLRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Child Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Child Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | Generate a string representing the Rock Ridge Child Link record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1487-L1500 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPLRecord.set_log_block_num | def set_log_block_num(self, bl):
# type: (int) -> None
'''
Set the logical block number for the parent.
Parameters:
bl - Logical block number of the parent.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | python | def set_log_block_num(self, bl):
# type: (int) -> None
'''
Set the logical block number for the parent.
Parameters:
bl - Logical block number of the parent.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | Set the logical block number for the parent.
Parameters:
bl - Logical block number of the parent.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1502-L1515 |
clalancette/pycdlib | pycdlib/rockridge.py | RRTFRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Time Stamp record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.P... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Time Stamp record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.P... | Parse a Rock Ridge Time Stamp record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1558-L1592 |
clalancette/pycdlib | pycdlib/rockridge.py | RRTFRecord.new | def new(self, time_flags):
# type: (int) -> None
'''
Create a new Rock Ridge Time Stamp record.
Parameters:
time_flags - The flags to use for this time stamp record.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.... | python | def new(self, time_flags):
# type: (int) -> None
'''
Create a new Rock Ridge Time Stamp record.
Parameters:
time_flags - The flags to use for this time stamp record.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.... | Create a new Rock Ridge Time Stamp record.
Parameters:
time_flags - The flags to use for this time stamp record.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1594-L1621 |
clalancette/pycdlib | pycdlib/rockridge.py | RRTFRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Time Stamp record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Time Stamp record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCdl... | Generate a string representing the Rock Ridge Time Stamp record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1623-L1642 |
clalancette/pycdlib | pycdlib/rockridge.py | RRTFRecord.length | def length(time_flags):
# type: (int) -> int
'''
Static method to return the length of the Rock Ridge Time Stamp
record.
Parameters:
time_flags - Integer representing the flags to use.
Returns:
The length of this record in bytes.
'''
tf_... | python | def length(time_flags):
# type: (int) -> int
'''
Static method to return the length of the Rock Ridge Time Stamp
record.
Parameters:
time_flags - Integer representing the flags to use.
Returns:
The length of this record in bytes.
'''
tf_... | Static method to return the length of the Rock Ridge Time Stamp
record.
Parameters:
time_flags - Integer representing the flags to use.
Returns:
The length of this record in bytes. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1645-L1665 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSFRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Sparse File record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Sparse File record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.... | Parse a Rock Ridge Sparse File record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1683-L1721 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSFRecord.new | def new(self, file_size_high, file_size_low, table_depth):
# type: (Optional[int], int, Optional[int]) -> None
'''
Create a new Rock Ridge Sparse File record.
Parameters:
file_size_high - The high-order 32-bits of the file size.
file_size_low - The low-order 32-bits of... | python | def new(self, file_size_high, file_size_low, table_depth):
# type: (Optional[int], int, Optional[int]) -> None
'''
Create a new Rock Ridge Sparse File record.
Parameters:
file_size_high - The high-order 32-bits of the file size.
file_size_low - The low-order 32-bits of... | Create a new Rock Ridge Sparse File record.
Parameters:
file_size_high - The high-order 32-bits of the file size.
file_size_low - The low-order 32-bits of the file size.
table_depth - The maximum virtual file size.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1723-L1742 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSFRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Sparse File record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCd... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Sparse File record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlibexception.PyCd... | Generate a string representing the Rock Ridge Sparse File record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1744-L1766 |
clalancette/pycdlib | pycdlib/rockridge.py | RRRERecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Relocated Directory
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdl... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Relocated Directory
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdl... | Generate a string representing the Rock Ridge Relocated Directory
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1839-L1853 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSTRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge System Terminator record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexce... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge System Terminator record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexce... | Parse a Rock Ridge System Terminator record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1882-L1903 |
clalancette/pycdlib | pycdlib/rockridge.py | RRSTRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge System Terminator
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlib... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge System Terminator
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdlib... | Generate a string representing the Rock Ridge System Terminator
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1920-L1934 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPDRecord.parse | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Platform Dependent record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexc... | python | def parse(self, rrstr):
# type: (bytes) -> None
'''
Parse a Rock Ridge Platform Dependent record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexc... | Parse a Rock Ridge Platform Dependent record out of a string.
Parameters:
rrstr - The string to parse the record out of.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1963-L1983 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPDRecord.new | def new(self):
# type: () -> None
'''
Create a new Rock Ridge Platform Dependent record.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('PD record already initialized!')
... | python | def new(self):
# type: () -> None
'''
Create a new Rock Ridge Platform Dependent record.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('PD record already initialized!')
... | Create a new Rock Ridge Platform Dependent record.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L1985-L1999 |
clalancette/pycdlib | pycdlib/rockridge.py | RRPDRecord.record | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Platform Dependent
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdli... | python | def record(self):
# type: () -> bytes
'''
Generate a string representing the Rock Ridge Platform Dependent
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record.
'''
if not self._initialized:
raise pycdli... | Generate a string representing the Rock Ridge Platform Dependent
record.
Parameters:
None.
Returns:
String containing the Rock Ridge record. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2001-L2016 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.has_entry | def has_entry(self, name):
# type: (str) -> bool
'''
An internal method to tell if we have already parsed an entry of the
named type.
Parameters:
name - The name of the entry to check.
Returns:
True if we have already parsed an entry of the named type, ... | python | def has_entry(self, name):
# type: (str) -> bool
'''
An internal method to tell if we have already parsed an entry of the
named type.
Parameters:
name - The name of the entry to check.
Returns:
True if we have already parsed an entry of the named type, ... | An internal method to tell if we have already parsed an entry of the
named type.
Parameters:
name - The name of the entry to check.
Returns:
True if we have already parsed an entry of the named type, False otherwise. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2095-L2106 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.parse | def parse(self, record, is_first_dir_record_of_root, bytes_to_skip, continuation):
# type: (bytes, bool, int, bool) -> None
'''
Method to parse a rock ridge record.
Parameters:
record - The record to parse.
is_first_dir_record_of_root - Whether this is the first direct... | python | def parse(self, record, is_first_dir_record_of_root, bytes_to_skip, continuation):
# type: (bytes, bool, int, bool) -> None
'''
Method to parse a rock ridge record.
Parameters:
record - The record to parse.
is_first_dir_record_of_root - Whether this is the first direct... | Method to parse a rock ridge record.
Parameters:
record - The record to parse.
is_first_dir_record_of_root - Whether this is the first directory
record of the root directory record;
certain Rock Ridge entries are on... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2108-L2272 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge._record | def _record(self, entries):
# type: (RockRidgeEntries) -> bytes
'''
Return a string representing the Rock Ridge entry.
Parameters:
entries - The dr_entries or ce_entries to generate a record for.
Returns:
A string representing the Rock Ridge entry.
'''
... | python | def _record(self, entries):
# type: (RockRidgeEntries) -> bytes
'''
Return a string representing the Rock Ridge entry.
Parameters:
entries - The dr_entries or ce_entries to generate a record for.
Returns:
A string representing the Rock Ridge entry.
'''
... | Return a string representing the Rock Ridge entry.
Parameters:
entries - The dr_entries or ce_entries to generate a record for.
Returns:
A string representing the Rock Ridge entry. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2274-L2331 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.record_dr_entries | def record_dr_entries(self):
# type: () -> bytes
'''
Return a string representing the Rock Ridge entries in the Directory Record.
Parameters:
None.
Returns:
A string representing the Rock Ridge entry.
'''
if not self._initialized:
ra... | python | def record_dr_entries(self):
# type: () -> bytes
'''
Return a string representing the Rock Ridge entries in the Directory Record.
Parameters:
None.
Returns:
A string representing the Rock Ridge entry.
'''
if not self._initialized:
ra... | Return a string representing the Rock Ridge entries in the Directory Record.
Parameters:
None.
Returns:
A string representing the Rock Ridge entry. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2333-L2346 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.record_ce_entries | def record_ce_entries(self):
# type: () -> bytes
'''
Return a string representing the Rock Ridge entries in the Continuation Entry.
Parameters:
None.
Returns:
A string representing the Rock Ridge entry.
'''
if not self._initialized:
... | python | def record_ce_entries(self):
# type: () -> bytes
'''
Return a string representing the Rock Ridge entries in the Continuation Entry.
Parameters:
None.
Returns:
A string representing the Rock Ridge entry.
'''
if not self._initialized:
... | Return a string representing the Rock Ridge entries in the Continuation Entry.
Parameters:
None.
Returns:
A string representing the Rock Ridge entry. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2348-L2361 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge._add_ce_record | def _add_ce_record(self, curr_dr_len, thislen):
# type: (int, int) -> int
'''
An internal method to add a new length to a Continuation Entry. If the
Continuation Entry does not yet exist, this method creates it.
Parameters:
curr_dr_len - The current Directory Record le... | python | def _add_ce_record(self, curr_dr_len, thislen):
# type: (int, int) -> int
'''
An internal method to add a new length to a Continuation Entry. If the
Continuation Entry does not yet exist, this method creates it.
Parameters:
curr_dr_len - The current Directory Record le... | An internal method to add a new length to a Continuation Entry. If the
Continuation Entry does not yet exist, this method creates it.
Parameters:
curr_dr_len - The current Directory Record length.
thislen - The new length to add to the Continuation Entry.
Returns:
An... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2363-L2381 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge._new_symlink | def _new_symlink(self, symlink_path, curr_dr_len):
# type: (bytes, int) -> int
'''
An internal method to add the appropriate symlink record(s) to the ISO.
Parameters:
symlink_path - The absolute symlink path to add to the ISO.
curr_dr_len - The current directory record... | python | def _new_symlink(self, symlink_path, curr_dr_len):
# type: (bytes, int) -> int
'''
An internal method to add the appropriate symlink record(s) to the ISO.
Parameters:
symlink_path - The absolute symlink path to add to the ISO.
curr_dr_len - The current directory record... | An internal method to add the appropriate symlink record(s) to the ISO.
Parameters:
symlink_path - The absolute symlink path to add to the ISO.
curr_dr_len - The current directory record length.
Returns:
The new directory record length. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2383-L2500 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge._add_name | def _add_name(self, rr_name, curr_dr_len):
# type: (bytes, int) -> int
'''
An internal method to add the appropriate name records to the ISO.
Parameters:
rr_name - The Rock Ridge name to add to the ISO.
curr_dr_len - The current directory record length.
Returns... | python | def _add_name(self, rr_name, curr_dr_len):
# type: (bytes, int) -> int
'''
An internal method to add the appropriate name records to the ISO.
Parameters:
rr_name - The Rock Ridge name to add to the ISO.
curr_dr_len - The current directory record length.
Returns... | An internal method to add the appropriate name records to the ISO.
Parameters:
rr_name - The Rock Ridge name to add to the ISO.
curr_dr_len - The current directory record length.
Returns:
The new directory record length. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2502-L2549 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.new | def new(self, is_first_dir_record_of_root, rr_name, file_mode,
symlink_path, rr_version, rr_relocated_child, rr_relocated,
rr_relocated_parent, bytes_to_skip, curr_dr_len):
# type: (bool, bytes, int, bytes, str, bool, bool, bool, int, int) -> int
'''
Create a new Rock Rid... | python | def new(self, is_first_dir_record_of_root, rr_name, file_mode,
symlink_path, rr_version, rr_relocated_child, rr_relocated,
rr_relocated_parent, bytes_to_skip, curr_dr_len):
# type: (bool, bytes, int, bytes, str, bool, bool, bool, int, int) -> int
'''
Create a new Rock Rid... | Create a new Rock Ridge record.
Parameters:
is_first_dir_record_of_root - Whether this is the first directory
record of the root directory record;
certain Rock Ridge entries are only
va... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2551-L2726 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.add_to_file_links | def add_to_file_links(self):
# type: () -> None
'''
Increment the number of POSIX file links on this entry by one.
Parameters:
None.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibInternalError('Rock Ri... | python | def add_to_file_links(self):
# type: () -> None
'''
Increment the number of POSIX file links on this entry by one.
Parameters:
None.
Returns:
Nothing.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibInternalError('Rock Ri... | Increment the number of POSIX file links on this entry by one.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2728-L2746 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.copy_file_links | def copy_file_links(self, src):
# type: (RockRidge) -> None
'''
Copy the number of file links from the source Rock Ridge entry into
this Rock Ridge entry.
Parameters:
src - The source Rock Ridge entry to copy from.
Returns:
Nothing.
'''
... | python | def copy_file_links(self, src):
# type: (RockRidge) -> None
'''
Copy the number of file links from the source Rock Ridge entry into
this Rock Ridge entry.
Parameters:
src - The source Rock Ridge entry to copy from.
Returns:
Nothing.
'''
... | Copy the number of file links from the source Rock Ridge entry into
this Rock Ridge entry.
Parameters:
src - The source Rock Ridge entry to copy from.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2768-L2796 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.get_file_mode | def get_file_mode(self):
# type: () -> int
'''
Get the POSIX file mode bits for this Rock Ridge entry.
Parameters:
None.
Returns:
The POSIX file mode bits for this Rock Ridge entry.
'''
if not self._initialized:
raise pycdlibexceptio... | python | def get_file_mode(self):
# type: () -> int
'''
Get the POSIX file mode bits for this Rock Ridge entry.
Parameters:
None.
Returns:
The POSIX file mode bits for this Rock Ridge entry.
'''
if not self._initialized:
raise pycdlibexceptio... | Get the POSIX file mode bits for this Rock Ridge entry.
Parameters:
None.
Returns:
The POSIX file mode bits for this Rock Ridge entry. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2798-L2816 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge._is_symlink | def _is_symlink(self):
# type: () -> bool
'''
Internal method to determine whether this Rock Ridge entry is a symlink.
'''
return len(self.dr_entries.sl_records) > 0 or len(self.ce_entries.sl_records) > 0 | python | def _is_symlink(self):
# type: () -> bool
'''
Internal method to determine whether this Rock Ridge entry is a symlink.
'''
return len(self.dr_entries.sl_records) > 0 or len(self.ce_entries.sl_records) > 0 | Internal method to determine whether this Rock Ridge entry is a symlink. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2833-L2838 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.symlink_path | def symlink_path(self):
# type: () -> bytes
'''
Get the path as a string of the symlink target of this Rock Ridge entry
(if this is a symlink).
Parameters:
None.
Returns:
Symlink path as a string.
'''
if not self._initialized:
... | python | def symlink_path(self):
# type: () -> bytes
'''
Get the path as a string of the symlink target of this Rock Ridge entry
(if this is a symlink).
Parameters:
None.
Returns:
Symlink path as a string.
'''
if not self._initialized:
... | Get the path as a string of the symlink target of this Rock Ridge entry
(if this is a symlink).
Parameters:
None.
Returns:
Symlink path as a string. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2855-L2885 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.child_link_record_exists | def child_link_record_exists(self):
# type: () -> bool
'''
Determine whether this Rock Ridge entry has a child link record (used
for relocating deep directory records).
Parameters:
None.
Returns:
True if this Rock Ridge entry has a child link record, Fa... | python | def child_link_record_exists(self):
# type: () -> bool
'''
Determine whether this Rock Ridge entry has a child link record (used
for relocating deep directory records).
Parameters:
None.
Returns:
True if this Rock Ridge entry has a child link record, Fa... | Determine whether this Rock Ridge entry has a child link record (used
for relocating deep directory records).
Parameters:
None.
Returns:
True if this Rock Ridge entry has a child link record, False otherwise. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2887-L2901 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.child_link_update_from_dirrecord | def child_link_update_from_dirrecord(self):
# type: () -> None
'''
Update the logical extent number stored in the child link record (if
there is one), from the directory record entry that was stored in
the child_link member. This is used at the end of reshuffling extents
... | python | def child_link_update_from_dirrecord(self):
# type: () -> None
'''
Update the logical extent number stored in the child link record (if
there is one), from the directory record entry that was stored in
the child_link member. This is used at the end of reshuffling extents
... | Update the logical extent number stored in the child link record (if
there is one), from the directory record entry that was stored in
the child_link member. This is used at the end of reshuffling extents
to properly update the child link records.
Parameters:
None.
Ret... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2903-L2927 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.child_link_extent | def child_link_extent(self):
# type: () -> int
'''
Get the extent of the child of this entry if it has one.
Parameters:
None.
Returns:
The logical block number of the child if it exists.
'''
if not self._initialized:
raise pycdlibexc... | python | def child_link_extent(self):
# type: () -> int
'''
Get the extent of the child of this entry if it has one.
Parameters:
None.
Returns:
The logical block number of the child if it exists.
'''
if not self._initialized:
raise pycdlibexc... | Get the extent of the child of this entry if it has one.
Parameters:
None.
Returns:
The logical block number of the child if it exists. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2929-L2947 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.parent_link_record_exists | def parent_link_record_exists(self):
# type: () -> bool
'''
Determine whether this Rock Ridge entry has a parent link record (used
for relocating deep directory records).
Parameters:
None:
Returns:
True if this Rock Ridge entry has a parent link record,... | python | def parent_link_record_exists(self):
# type: () -> bool
'''
Determine whether this Rock Ridge entry has a parent link record (used
for relocating deep directory records).
Parameters:
None:
Returns:
True if this Rock Ridge entry has a parent link record,... | Determine whether this Rock Ridge entry has a parent link record (used
for relocating deep directory records).
Parameters:
None:
Returns:
True if this Rock Ridge entry has a parent link record, False otherwise. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2949-L2963 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.parent_link_update_from_dirrecord | def parent_link_update_from_dirrecord(self):
# type: () -> None
'''
Update the logical extent number stored in the parent link record (if
there is one), from the directory record entry that was stored in
the parent_link member. This is used at the end of reshuffling extents
... | python | def parent_link_update_from_dirrecord(self):
# type: () -> None
'''
Update the logical extent number stored in the parent link record (if
there is one), from the directory record entry that was stored in
the parent_link member. This is used at the end of reshuffling extents
... | Update the logical extent number stored in the parent link record (if
there is one), from the directory record entry that was stored in
the parent_link member. This is used at the end of reshuffling extents
to properly update the parent link records.
Parameters:
None.
... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2965-L2989 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.parent_link_extent | def parent_link_extent(self):
# type: () -> int
'''
Get the extent of the parent of this entry if it has one.
Parameters:
None.
Returns:
The logical block number of the parent if it exists.
'''
if not self._initialized:
raise pycdlib... | python | def parent_link_extent(self):
# type: () -> int
'''
Get the extent of the parent of this entry if it has one.
Parameters:
None.
Returns:
The logical block number of the parent if it exists.
'''
if not self._initialized:
raise pycdlib... | Get the extent of the parent of this entry if it has one.
Parameters:
None.
Returns:
The logical block number of the parent if it exists. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L2991-L3009 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.relocated_record | def relocated_record(self):
# type: () -> bool
'''
Determine whether this Rock Ridge entry has a relocated record (used for
relocating deep directory records).
Parameters:
None.
Returns:
True if this Rock Ridge entry has a relocated record, False otherw... | python | def relocated_record(self):
# type: () -> bool
'''
Determine whether this Rock Ridge entry has a relocated record (used for
relocating deep directory records).
Parameters:
None.
Returns:
True if this Rock Ridge entry has a relocated record, False otherw... | Determine whether this Rock Ridge entry has a relocated record (used for
relocating deep directory records).
Parameters:
None.
Returns:
True if this Rock Ridge entry has a relocated record, False otherwise. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L3011-L3025 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidge.update_ce_block | def update_ce_block(self, block):
# type: (RockRidgeContinuationBlock) -> None
'''
Update the Continuation Entry block object used by this Rock Ridge Record.
Parameters:
block - The new block object.
Returns:
Nothing.
'''
if not self._initialize... | python | def update_ce_block(self, block):
# type: (RockRidgeContinuationBlock) -> None
'''
Update the Continuation Entry block object used by this Rock Ridge Record.
Parameters:
block - The new block object.
Returns:
Nothing.
'''
if not self._initialize... | Update the Continuation Entry block object used by this Rock Ridge Record.
Parameters:
block - The new block object.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L3027-L3040 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidgeContinuationBlock.track_entry | def track_entry(self, offset, length):
# type: (int, int) -> None
'''
Track an already allocated entry in this Rock Ridge Continuation Block.
Parameters:
offset - The offset at which to place the entry.
length - The length of the entry to track.
Returns:
... | python | def track_entry(self, offset, length):
# type: (int, int) -> None
'''
Track an already allocated entry in this Rock Ridge Continuation Block.
Parameters:
offset - The offset at which to place the entry.
length - The length of the entry to track.
Returns:
... | Track an already allocated entry in this Rock Ridge Continuation Block.
Parameters:
offset - The offset at which to place the entry.
length - The length of the entry to track.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L3125-L3149 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidgeContinuationBlock.add_entry | def add_entry(self, length):
# type: (int) -> int
'''
Add a new entry to this Rock Ridge Continuation Block. This method
attempts to find a gap that fits the new length anywhere within this
Continuation Block. If successful, it returns the offset at which
it placed this... | python | def add_entry(self, length):
# type: (int) -> int
'''
Add a new entry to this Rock Ridge Continuation Block. This method
attempts to find a gap that fits the new length anywhere within this
Continuation Block. If successful, it returns the offset at which
it placed this... | Add a new entry to this Rock Ridge Continuation Block. This method
attempts to find a gap that fits the new length anywhere within this
Continuation Block. If successful, it returns the offset at which
it placed this entry. If unsuccessful, it returns None.
Parameters:
lengt... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L3151-L3197 |
clalancette/pycdlib | pycdlib/rockridge.py | RockRidgeContinuationBlock.remove_entry | def remove_entry(self, offset, length):
# type: (int, int) -> None
'''
Given an offset and length, find and remove the entry in this block
that corresponds.
Parameters:
offset - The offset of the entry to look for.
length - The length of the entry to look for.
... | python | def remove_entry(self, offset, length):
# type: (int, int) -> None
'''
Given an offset and length, find and remove the entry in this block
that corresponds.
Parameters:
offset - The offset of the entry to look for.
length - The length of the entry to look for.
... | Given an offset and length, find and remove the entry in this block
that corresponds.
Parameters:
offset - The offset of the entry to look for.
length - The length of the entry to look for.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/rockridge.py#L3199-L3216 |
clalancette/pycdlib | pycdlib/udf.py | crc_ccitt | def crc_ccitt(data):
# type: (bytes) -> int
'''
Calculate the CRC over a range of bytes using the CCITT polynomial.
Parameters:
data - The array of bytes to calculate the CRC over.
Returns:
The CCITT CRC of the data.
'''
crc = 0
if not have_py_3:
for x in data:
... | python | def crc_ccitt(data):
# type: (bytes) -> int
'''
Calculate the CRC over a range of bytes using the CCITT polynomial.
Parameters:
data - The array of bytes to calculate the CRC over.
Returns:
The CCITT CRC of the data.
'''
crc = 0
if not have_py_3:
for x in data:
... | Calculate the CRC over a range of bytes using the CCITT polynomial.
Parameters:
data - The array of bytes to calculate the CRC over.
Returns:
The CCITT CRC of the data. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L93-L112 |
clalancette/pycdlib | pycdlib/udf.py | _ostaunicode | def _ostaunicode(src):
# type: (str) -> bytes
'''
Internal function to create an OSTA byte string from a source string.
'''
if have_py_3:
bytename = src
else:
bytename = src.decode('utf-8') # type: ignore
try:
enc = bytename.encode('latin-1')
encbyte = b'\x0... | python | def _ostaunicode(src):
# type: (str) -> bytes
'''
Internal function to create an OSTA byte string from a source string.
'''
if have_py_3:
bytename = src
else:
bytename = src.decode('utf-8') # type: ignore
try:
enc = bytename.encode('latin-1')
encbyte = b'\x0... | Internal function to create an OSTA byte string from a source string. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L115-L131 |
clalancette/pycdlib | pycdlib/udf.py | _ostaunicode_zero_pad | def _ostaunicode_zero_pad(src, fulllen):
# type: (str, int) -> bytes
'''
Internal function to create a zero-padded Identifier byte string from a
source string.
Parameters:
src - The src string to start from.
fulllen - The padded out length of the result.
Returns:
A full identifie... | python | def _ostaunicode_zero_pad(src, fulllen):
# type: (str, int) -> bytes
'''
Internal function to create a zero-padded Identifier byte string from a
source string.
Parameters:
src - The src string to start from.
fulllen - The padded out length of the result.
Returns:
A full identifie... | Internal function to create a zero-padded Identifier byte string from a
source string.
Parameters:
src - The src string to start from.
fulllen - The padded out length of the result.
Returns:
A full identifier byte string containing the source string. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L134-L147 |
clalancette/pycdlib | pycdlib/udf.py | _compute_csum | def _compute_csum(data):
# type: (bytes) -> int
'''
A method to compute a simple checksum over the given data.
Parameters:
data - The data to compute the checksum over.
Returns:
The checksum.
'''
def identity(x):
# type: (int) -> int
'''
The identity functi... | python | def _compute_csum(data):
# type: (bytes) -> int
'''
A method to compute a simple checksum over the given data.
Parameters:
data - The data to compute the checksum over.
Returns:
The checksum.
'''
def identity(x):
# type: (int) -> int
'''
The identity functi... | A method to compute a simple checksum over the given data.
Parameters:
data - The data to compute the checksum over.
Returns:
The checksum. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L486-L516 |
clalancette/pycdlib | pycdlib/udf.py | symlink_to_bytes | def symlink_to_bytes(symlink_target):
# type: (str) -> bytes
'''
A function to generate UDF symlink data from a Unix-like path.
Parameters:
symlink_target - The Unix-like path that is the symlink.
Returns:
The UDF data corresponding to the symlink.
'''
symlink_data = bytearray()
... | python | def symlink_to_bytes(symlink_target):
# type: (str) -> bytes
'''
A function to generate UDF symlink data from a Unix-like path.
Parameters:
symlink_target - The Unix-like path that is the symlink.
Returns:
The UDF data corresponding to the symlink.
'''
symlink_data = bytearray()
... | A function to generate UDF symlink data from a Unix-like path.
Parameters:
symlink_target - The Unix-like path that is the symlink.
Returns:
The UDF data corresponding to the symlink. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L3554-L3582 |
clalancette/pycdlib | pycdlib/udf.py | BEAVolumeStructure.set_extent_location | def set_extent_location(self, extent):
# type: (int) -> None
'''
A method to set the new location for this UDF BEA Volume Structure.
Parameters:
extent - The new extent location to set for this UDF BEA Volume Structure.
Returns:
Nothing.
'''
if ... | python | def set_extent_location(self, extent):
# type: (int) -> None
'''
A method to set the new location for this UDF BEA Volume Structure.
Parameters:
extent - The new extent location to set for this UDF BEA Volume Structure.
Returns:
Nothing.
'''
if ... | A method to set the new location for this UDF BEA Volume Structure.
Parameters:
extent - The new extent location to set for this UDF BEA Volume Structure.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L253-L265 |
clalancette/pycdlib | pycdlib/udf.py | NSRVolumeStructure.parse | def parse(self, data, extent):
# type: (bytes, int) -> None
'''
Parse the passed in data into a UDF NSR Volume Structure.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
Returns:
Nothing.
'''
... | python | def parse(self, data, extent):
# type: (bytes, int) -> None
'''
Parse the passed in data into a UDF NSR Volume Structure.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
Returns:
Nothing.
'''
... | Parse the passed in data into a UDF NSR Volume Structure.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L282-L310 |
clalancette/pycdlib | pycdlib/udf.py | NSRVolumeStructure.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF NSR Volume
Structure.
Parameters:
None.
Returns:
A string representing this UDF BEA Volume Strucutre.
'''
if not self._initialized:
... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF NSR Volume
Structure.
Parameters:
None.
Returns:
A string representing this UDF BEA Volume Strucutre.
'''
if not self._initialized:
... | A method to generate the string representing this UDF NSR Volume
Structure.
Parameters:
None.
Returns:
A string representing this UDF BEA Volume Strucutre. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L312-L325 |
clalancette/pycdlib | pycdlib/udf.py | NSRVolumeStructure.new | def new(self, version):
# type: () -> None
'''
A method to create a new UDF NSR Volume Structure.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF NSR Volume Structure alr... | python | def new(self, version):
# type: () -> None
'''
A method to create a new UDF NSR Volume Structure.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF NSR Volume Structure alr... | A method to create a new UDF NSR Volume Structure.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L327-L347 |
clalancette/pycdlib | pycdlib/udf.py | NSRVolumeStructure.extent_location | def extent_location(self):
# type: () -> int
'''
A method to get the extent location of this UDF NSR Volume Structure.
Parameters:
None.
Returns:
Integer extent location of this UDF NSR Volume Structure.
'''
if not self._initialized:
... | python | def extent_location(self):
# type: () -> int
'''
A method to get the extent location of this UDF NSR Volume Structure.
Parameters:
None.
Returns:
Integer extent location of this UDF NSR Volume Structure.
'''
if not self._initialized:
... | A method to get the extent location of this UDF NSR Volume Structure.
Parameters:
None.
Returns:
Integer extent location of this UDF NSR Volume Structure. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L349-L364 |
clalancette/pycdlib | pycdlib/udf.py | UDFTag.parse | def parse(self, data, extent):
# type: (bytes, int) -> None
'''
Parse the passed in data into a UDF Descriptor tag.
Parameters:
data - The data to parse.
extent - The extent to compare against for the tag location.
Returns:
Nothing.
'''
... | python | def parse(self, data, extent):
# type: (bytes, int) -> None
'''
Parse the passed in data into a UDF Descriptor tag.
Parameters:
data - The data to parse.
extent - The extent to compare against for the tag location.
Returns:
Nothing.
'''
... | Parse the passed in data into a UDF Descriptor tag.
Parameters:
data - The data to parse.
extent - The extent to compare against for the tag location.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L533-L576 |
clalancette/pycdlib | pycdlib/udf.py | UDFTag.record | def record(self, crc_bytes):
# type: (bytes) -> bytes
'''
A method to generate the string representing this UDF Descriptor Tag.
Parameters:
crc_bytes - The string to compute the CRC over.
Returns:
A string representing this UDF Descriptor Tag.
'''
... | python | def record(self, crc_bytes):
# type: (bytes) -> bytes
'''
A method to generate the string representing this UDF Descriptor Tag.
Parameters:
crc_bytes - The string to compute the CRC over.
Returns:
A string representing this UDF Descriptor Tag.
'''
... | A method to generate the string representing this UDF Descriptor Tag.
Parameters:
crc_bytes - The string to compute the CRC over.
Returns:
A string representing this UDF Descriptor Tag. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L578-L605 |
clalancette/pycdlib | pycdlib/udf.py | UDFTag.new | def new(self, tag_ident, tag_serial=0):
# type: (int, int) -> None
'''
A method to create a new UDF Descriptor Tag.
Parameters:
tag_ident - The tag identifier number for this tag.
tag_serial - The tag serial number for this tag.
Returns:
Nothing
... | python | def new(self, tag_ident, tag_serial=0):
# type: (int, int) -> None
'''
A method to create a new UDF Descriptor Tag.
Parameters:
tag_ident - The tag identifier number for this tag.
tag_serial - The tag serial number for this tag.
Returns:
Nothing
... | A method to create a new UDF Descriptor Tag.
Parameters:
tag_ident - The tag identifier number for this tag.
tag_serial - The tag serial number for this tag.
Returns:
Nothing | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L607-L626 |
clalancette/pycdlib | pycdlib/udf.py | UDFAnchorVolumeStructure.parse | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Anchor Volume Structure.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDFTa... | python | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Anchor Volume Structure.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDFTa... | Parse the passed in data into a UDF Anchor Volume Structure.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDFTag object that represents the Descriptor Tag.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L644-L667 |
clalancette/pycdlib | pycdlib/udf.py | UDFAnchorVolumeStructure.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Anchor Volume
Structure.
Parameters:
None.
Returns:
A string representing this UDF Anchor Volume Structure.
'''
if not self._initialized:
... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Anchor Volume
Structure.
Parameters:
None.
Returns:
A string representing this UDF Anchor Volume Structure.
'''
if not self._initialized:
... | A method to generate the string representing this UDF Anchor Volume
Structure.
Parameters:
None.
Returns:
A string representing this UDF Anchor Volume Structure. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L669-L687 |
clalancette/pycdlib | pycdlib/udf.py | UDFAnchorVolumeStructure.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Anchor Volume Structure.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Anchor Volume Structure alread... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Anchor Volume Structure.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Anchor Volume Structure alread... | A method to create a new UDF Anchor Volume Structure.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L706-L726 |
clalancette/pycdlib | pycdlib/udf.py | UDFAnchorVolumeStructure.set_extent_location | def set_extent_location(self, new_location, main_vd_extent, reserve_vd_extent):
# type: (int, int, int) -> None
'''
A method to set a new location for this Anchor Volume Structure.
Parameters:
new_location - The new extent that this Anchor Volume Structure should be located at.... | python | def set_extent_location(self, new_location, main_vd_extent, reserve_vd_extent):
# type: (int, int, int) -> None
'''
A method to set a new location for this Anchor Volume Structure.
Parameters:
new_location - The new extent that this Anchor Volume Structure should be located at.... | A method to set a new location for this Anchor Volume Structure.
Parameters:
new_location - The new extent that this Anchor Volume Structure should be located at.
main_vd_extent - The extent containing the main Volume Descriptors.
reserve_vd_extent - The extent containing the reserve... | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L728-L746 |
clalancette/pycdlib | pycdlib/udf.py | UDFTimestamp.parse | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Timestamp.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Time... | python | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Timestamp.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Time... | Parse the passed in data into a UDF Timestamp.
Parameters:
data - The data to parse.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L763-L808 |
clalancette/pycdlib | pycdlib/udf.py | UDFTimestamp.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Timestamp.
Parameters:
None.
Returns:
A string representing this UDF Timestamp.
'''
if not self._initialized:
raise pycdlibexception.PyCd... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Timestamp.
Parameters:
None.
Returns:
A string representing this UDF Timestamp.
'''
if not self._initialized:
raise pycdlibexception.PyCd... | A method to generate the string representing this UDF Timestamp.
Parameters:
None.
Returns:
A string representing this UDF Timestamp. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L810-L830 |
clalancette/pycdlib | pycdlib/udf.py | UDFTimestamp.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Timestamp.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Timestamp already initialized')
tm ... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Timestamp.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Timestamp already initialized')
tm ... | A method to create a new UDF Timestamp.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L832-L862 |
clalancette/pycdlib | pycdlib/udf.py | UDFEntityID.parse | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Entity ID.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Enti... | python | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Entity ID.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Enti... | Parse the passed in data into a UDF Entity ID.
Parameters:
data - The data to parse.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L877-L892 |
clalancette/pycdlib | pycdlib/udf.py | UDFEntityID.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Entity ID.
Parameters:
None.
Returns:
A string representing this UDF Entity ID.
'''
if not self._initialized:
raise pycdlibexception.PyCd... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Entity ID.
Parameters:
None.
Returns:
A string representing this UDF Entity ID.
'''
if not self._initialized:
raise pycdlibexception.PyCd... | A method to generate the string representing this UDF Entity ID.
Parameters:
None.
Returns:
A string representing this UDF Entity ID. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L894-L907 |
clalancette/pycdlib | pycdlib/udf.py | UDFEntityID.new | def new(self, flags=0, identifier=b'', suffix=b''):
# type: (int, bytes, bytes) -> None
'''
A method to create a new UDF Entity ID.
Parameters:
flags - The flags to set for this Entity ID.
identifier - The identifier to set for this Entity ID.
suffix - The suf... | python | def new(self, flags=0, identifier=b'', suffix=b''):
# type: (int, bytes, bytes) -> None
'''
A method to create a new UDF Entity ID.
Parameters:
flags - The flags to set for this Entity ID.
identifier - The identifier to set for this Entity ID.
suffix - The suf... | A method to create a new UDF Entity ID.
Parameters:
flags - The flags to set for this Entity ID.
identifier - The identifier to set for this Entity ID.
suffix - The suffix to set for this Entity ID.
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L909-L935 |
clalancette/pycdlib | pycdlib/udf.py | UDFPrimaryVolumeDescriptor.parse | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Primary Volume Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDF... | python | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Primary Volume Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDF... | Parse the passed in data into a UDF Primary Volume Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDFTag object that represents the Descriptor Tag.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L957-L1011 |
clalancette/pycdlib | pycdlib/udf.py | UDFPrimaryVolumeDescriptor.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Primary Volume
Descriptor.
Parameters:
None.
Returns:
A string representing this UDF Primary Volume Descriptor.
'''
if not self._initialized:... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Primary Volume
Descriptor.
Parameters:
None.
Returns:
A string representing this UDF Primary Volume Descriptor.
'''
if not self._initialized:... | A method to generate the string representing this UDF Primary Volume
Descriptor.
Parameters:
None.
Returns:
A string representing this UDF Primary Volume Descriptor. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1013-L1037 |
clalancette/pycdlib | pycdlib/udf.py | UDFPrimaryVolumeDescriptor.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Primary Volume Descriptor.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Primary Volume Descriptor al... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Primary Volume Descriptor.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Primary Volume Descriptor al... | A method to create a new UDF Primary Volume Descriptor.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1056-L1098 |
clalancette/pycdlib | pycdlib/udf.py | UDFImplementationUseVolumeDescriptorImplementationUse.parse | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Implementation Use Volume
Descriptor Implementation Use field.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
... | python | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Implementation Use Volume
Descriptor Implementation Use field.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
... | Parse the passed in data into a UDF Implementation Use Volume
Descriptor Implementation Use field.
Parameters:
data - The data to parse.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1130-L1151 |
clalancette/pycdlib | pycdlib/udf.py | UDFImplementationUseVolumeDescriptorImplementationUse.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Implementation Use
Volume Descriptor Implementation Use field.
Parameters:
None.
Returns:
A string representing this UDF Implementation Use Volume Descriptor... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Implementation Use
Volume Descriptor Implementation Use field.
Parameters:
None.
Returns:
A string representing this UDF Implementation Use Volume Descriptor... | A method to generate the string representing this UDF Implementation Use
Volume Descriptor Implementation Use field.
Parameters:
None.
Returns:
A string representing this UDF Implementation Use Volume Descriptor. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1153-L1169 |
clalancette/pycdlib | pycdlib/udf.py | UDFImplementationUseVolumeDescriptorImplementationUse.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Implementation Use Volume Descriptor Implementation Use field.
Parameters:
None:
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalErr... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Implementation Use Volume Descriptor Implementation Use field.
Parameters:
None:
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalErr... | A method to create a new UDF Implementation Use Volume Descriptor Implementation Use field.
Parameters:
None:
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1171-L1193 |
clalancette/pycdlib | pycdlib/udf.py | UDFImplementationUseVolumeDescriptor.parse | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Implementation Use Volume
Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
... | python | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Implementation Use Volume
Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
... | Parse the passed in data into a UDF Implementation Use Volume
Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDFTag object that represents the Descriptor Tag.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1210-L1241 |
clalancette/pycdlib | pycdlib/udf.py | UDFImplementationUseVolumeDescriptor.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Implementation Use Volume Descriptor.
Parameters:
None:
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Implementation Us... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Implementation Use Volume Descriptor.
Parameters:
None:
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Implementation Us... | A method to create a new UDF Implementation Use Volume Descriptor.
Parameters:
None:
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1281-L1305 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionHeaderDescriptor.parse | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Partition Header Descriptor.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInter... | python | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Partition Header Descriptor.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInter... | Parse the passed in data into a UDF Partition Header Descriptor.
Parameters:
data - The data to parse.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1336-L1375 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionVolumeDescriptor.parse | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Partition Volume Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A U... | python | def parse(self, data, extent, desc_tag):
# type: (bytes, int, UDFTag) -> None
'''
Parse the passed in data into a UDF Partition Volume Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A U... | Parse the passed in data into a UDF Partition Volume Descriptor.
Parameters:
data - The data to parse.
extent - The extent that this descriptor currently lives at.
desc_tag - A UDFTag object that represents the Descriptor Tag.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1425-L1460 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionVolumeDescriptor.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Partition Volume
Descriptor.
Parameters:
None.
Returns:
A string representing this UDF Partition Volume Descriptor.
'''
if not self._initiali... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Partition Volume
Descriptor.
Parameters:
None.
Returns:
A string representing this UDF Partition Volume Descriptor.
'''
if not self._initiali... | A method to generate the string representing this UDF Partition Volume
Descriptor.
Parameters:
None.
Returns:
A string representing this UDF Partition Volume Descriptor. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1462-L1483 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionVolumeDescriptor.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Partition Volume Descriptor.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Partition Volume Descripto... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Partition Volume Descriptor.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Partition Volume Descripto... | A method to create a new UDF Partition Volume Descriptor.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1503-L1538 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionVolumeDescriptor.set_start_location | def set_start_location(self, new_location):
# type: (int) -> None
'''
A method to set the location of the start of the partition.
Parameters:
new_location - The new extent the UDF partition should start at.
Returns:
Nothing.
'''
if not self._ini... | python | def set_start_location(self, new_location):
# type: (int) -> None
'''
A method to set the location of the start of the partition.
Parameters:
new_location - The new extent the UDF partition should start at.
Returns:
Nothing.
'''
if not self._ini... | A method to set the location of the start of the partition.
Parameters:
new_location - The new extent the UDF partition should start at.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1555-L1567 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionMap.parse | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Partition Map.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF ... | python | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Partition Map.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF ... | Parse the passed in data into a UDF Partition Map.
Parameters:
data - The data to parse.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1582-L1605 |
clalancette/pycdlib | pycdlib/udf.py | UDFPartitionMap.new | def new(self):
# type: () -> None
'''
A method to create a new UDF Partition Map.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Partition Map already initialized')
... | python | def new(self):
# type: () -> None
'''
A method to create a new UDF Partition Map.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Partition Map already initialized')
... | A method to create a new UDF Partition Map.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1622-L1637 |
clalancette/pycdlib | pycdlib/udf.py | UDFLongAD.parse | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Long AD.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Long A... | python | def parse(self, data):
# type: (bytes) -> None
'''
Parse the passed in data into a UDF Long AD.
Parameters:
data - The data to parse.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Long A... | Parse the passed in data into a UDF Long AD.
Parameters:
data - The data to parse.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1653-L1668 |
clalancette/pycdlib | pycdlib/udf.py | UDFLongAD.record | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Long AD.
Parameters:
None.
Returns:
A string representing this UDF Long AD.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibI... | python | def record(self):
# type: () -> bytes
'''
A method to generate the string representing this UDF Long AD.
Parameters:
None.
Returns:
A string representing this UDF Long AD.
'''
if not self._initialized:
raise pycdlibexception.PyCdlibI... | A method to generate the string representing this UDF Long AD.
Parameters:
None.
Returns:
A string representing this UDF Long AD. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1670-L1684 |
clalancette/pycdlib | pycdlib/udf.py | UDFLongAD.new | def new(self, length, blocknum):
# type: (int, int) -> None
'''
A method to create a new UDF Long AD.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Long AD already init... | python | def new(self, length, blocknum):
# type: (int, int) -> None
'''
A method to create a new UDF Long AD.
Parameters:
None.
Returns:
Nothing.
'''
if self._initialized:
raise pycdlibexception.PyCdlibInternalError('UDF Long AD already init... | A method to create a new UDF Long AD.
Parameters:
None.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1686-L1704 |
clalancette/pycdlib | pycdlib/udf.py | UDFLongAD.set_extent_location | def set_extent_location(self, new_location, tag_location):
# type: (int, int) -> None
'''
A method to set the location fields of this UDF Long AD.
Parameters:
new_location - The new relative extent that this UDF Long AD references.
tag_location - The new absolute exten... | python | def set_extent_location(self, new_location, tag_location):
# type: (int, int) -> None
'''
A method to set the location fields of this UDF Long AD.
Parameters:
new_location - The new relative extent that this UDF Long AD references.
tag_location - The new absolute exten... | A method to set the location fields of this UDF Long AD.
Parameters:
new_location - The new relative extent that this UDF Long AD references.
tag_location - The new absolute extent that this UDF Long AD references.
Returns:
Nothing. | https://github.com/clalancette/pycdlib/blob/1e7b77a809e905d67dc71e12d70e850be26b6233/pycdlib/udf.py#L1706-L1721 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.