Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df570f0

Browse filesBrowse files
committed
preprended all modules with licensing information
1 parent 6d315b8 commit df570f0
Copy full SHA for df570f0
Expand file treeCollapse file tree

34 files changed

+133
-1
lines changed

‎gitdb/__init__.py

Copy file name to clipboardExpand all lines: gitdb/__init__.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Initialize the object database module"""
26

37
import sys

‎gitdb/base.py

Copy file name to clipboardExpand all lines: gitdb/base.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module with basic data structures - they are designed to be lightweight and fast"""
26
from util import (
37
bin_to_hex,

‎gitdb/db/__init__.py

Copy file name to clipboardExpand all lines: gitdb/db/__init__.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15

26
from base import *
37
from loose import *

‎gitdb/db/base.py

Copy file name to clipboardExpand all lines: gitdb/db/base.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains implementations of database retrieveing objects"""
26
from gitdb.util import (
37
pool,

‎gitdb/db/git.py

Copy file name to clipboardExpand all lines: gitdb/db/git.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from base import (
26
CompoundDB,
37
ObjectDBW,

‎gitdb/db/loose.py

Copy file name to clipboardExpand all lines: gitdb/db/loose.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from base import (
26
FileDBBase,
37
ObjectDBR,

‎gitdb/db/mem.py

Copy file name to clipboardExpand all lines: gitdb/db/mem.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains the MemoryDatabase implementation"""
26
from loose import LooseObjectDB
37
from base import (

‎gitdb/db/pack.py

Copy file name to clipboardExpand all lines: gitdb/db/pack.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module containing a database to deal with packs"""
26
from base import (
37
FileDBBase,

‎gitdb/db/ref.py

Copy file name to clipboardExpand all lines: gitdb/db/ref.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from base import (
26
CompoundDB,
37
)

‎gitdb/exc.py

Copy file name to clipboardExpand all lines: gitdb/exc.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module with common exceptions"""
26
from util import to_hex_sha
37

‎gitdb/fun.py

Copy file name to clipboardExpand all lines: gitdb/fun.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains basic c-functions which usually contain performance critical code
26
Keeping this code separate from the beginning makes it easier to out-source
37
it into c later, if required"""

‎gitdb/pack.py

Copy file name to clipboardExpand all lines: gitdb/pack.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains PackIndexFile and PackFile implementations"""
26
from gitdb.exc import (
37
BadObject,

‎gitdb/stream.py

Copy file name to clipboardExpand all lines: gitdb/stream.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15

26
from cStringIO import StringIO
37
import errno

‎gitdb/test/__init__.py

Copy file name to clipboardExpand all lines: gitdb/test/__init__.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15

26
import gitdb.util
37

‎gitdb/test/db/__init__.py

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php

‎gitdb/test/db/lib.py

Copy file name to clipboardExpand all lines: gitdb/test/db/lib.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Base classes for object db testing"""
26
from gitdb.test.lib import (
37
with_rw_directory,

‎gitdb/test/db/test_git.py

Copy file name to clipboardExpand all lines: gitdb/test/db/test_git.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.exc import BadObject
37
from gitdb.db import GitDB

‎gitdb/test/db/test_loose.py

Copy file name to clipboardExpand all lines: gitdb/test/db/test_loose.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import LooseObjectDB
37
from gitdb.exc import BadObject

‎gitdb/test/db/test_mem.py

Copy file name to clipboardExpand all lines: gitdb/test/db/test_mem.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import (
37
MemoryDB,

‎gitdb/test/db/test_pack.py

Copy file name to clipboardExpand all lines: gitdb/test/db/test_pack.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import PackedDB
37
from gitdb.test.lib import fixture_path

‎gitdb/test/db/test_ref.py

Copy file name to clipboardExpand all lines: gitdb/test/db/test_ref.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
from lib import *
26
from gitdb.db import ReferenceDB
37

‎gitdb/test/lib.py

Copy file name to clipboardExpand all lines: gitdb/test/lib.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Utilities used in ODB testing"""
26
from gitdb import (
37
OStream,

‎gitdb/test/performance/lib.py

Copy file name to clipboardExpand all lines: gitdb/test/performance/lib.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Contains library functions"""
26
import os
37
from gitdb.test.lib import *

‎gitdb/test/performance/test_pack.py

Copy file name to clipboardExpand all lines: gitdb/test/performance/test_pack.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Performance tests for object store"""
26
from lib import (
37
TestBigRepoR

‎gitdb/test/performance/test_pack_streaming.py

Copy file name to clipboardExpand all lines: gitdb/test/performance/test_pack_streaming.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Specific test for pack streams only"""
26
from lib import (
37
TestBigRepoR

‎gitdb/test/performance/test_stream.py

Copy file name to clipboardExpand all lines: gitdb/test/performance/test_stream.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Performance data streaming performance"""
26
from lib import TestBigRepoR
37
from gitdb.db import *

‎gitdb/test/test_base.py

Copy file name to clipboardExpand all lines: gitdb/test/test_base.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test for object db"""
26
from lib import (
37
TestBase,

‎gitdb/test/test_example.py

Copy file name to clipboardExpand all lines: gitdb/test/test_example.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module with examples from the tutorial section of the docs"""
26
from lib import *
37
from gitdb import IStream

‎gitdb/test/test_pack.py

Copy file name to clipboardExpand all lines: gitdb/test/test_pack.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test everything about packs reading and writing"""
26
from lib import (
37
TestBase,

‎gitdb/test/test_stream.py

Copy file name to clipboardExpand all lines: gitdb/test/test_stream.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test for object db"""
26
from lib import (
37
TestBase,

‎gitdb/test/test_util.py

Copy file name to clipboardExpand all lines: gitdb/test/test_util.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Test for object db"""
26
import tempfile
37
import os

‎gitdb/typ.py

Copy file name to clipboardExpand all lines: gitdb/typ.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
"""Module containing information about types known to the database"""
26

37
#{ String types

‎gitdb/util.py

Copy file name to clipboardExpand all lines: gitdb/util.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
2+
#
3+
# This module is part of GitDB and is released under
4+
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
15
import binascii
26
import os
37
import mmap

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.