Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data BlobMetadata Source #
Returns information about a specific Git blob object.
See: newBlobMetadata
smart constructor.
BlobMetadata' | |
|
Instances
newBlobMetadata :: BlobMetadata Source #
Create a value of BlobMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:blobId:BlobMetadata'
, blobMetadata_blobId
- The full ID of the blob.
$sel:mode:BlobMetadata'
, blobMetadata_mode
- The file mode permissions of the blob. File mode permission codes
include:
100644
indicates read/write100755
indicates read/write/execute160000
indicates a submodule120000
indicates a symlink
$sel:path:BlobMetadata'
, blobMetadata_path
- The path to the blob and associated file name, if any.
blobMetadata_blobId :: Lens' BlobMetadata (Maybe Text) Source #
The full ID of the blob.
blobMetadata_mode :: Lens' BlobMetadata (Maybe Text) Source #
The file mode permissions of the blob. File mode permission codes include:
100644
indicates read/write100755
indicates read/write/execute160000
indicates a submodule120000
indicates a symlink
blobMetadata_path :: Lens' BlobMetadata (Maybe Text) Source #
The path to the blob and associated file name, if any.