Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: client/libs/ar/__init__.py

Issue 2049523004: luci-py: Tools for working with BSD style ar archives. (Closed) Base URL: https://github.com/luci/luci-py.git@master
Patch Set: Fixing for Maruel's review. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file.
4
5 """
6 Implements access to ar archives. ar is probably the simplest format that
7 standard tools under Linux support.
8
9 The base ar format only supports files which are 16 characters long. There
10 are multiple methods for supporting longer file names.
11
12 This package only supports the "BSD variant" as the filename is stored allow
13 "streaming" support (rather than the Sys V / GNU variant which requires
14 building a symbol table).
15
16 References:
17 * https://en.wikipedia.org/wiki/Ar_(Unix)
18 """
19
20 from .reader import ArDefaultReader
21 from .writer import ArWriter, ArDefaultWriter
22 __all__ = ['ArDefaultReader', 'ArWriter', 'ArDefaultWriter']
M-A Ruel 2016/06/14 13:26:16 Ar prefix is not really needed. I don't think we n
mithro 2016/06/16 11:37:11 This duplication is pretty normal in Python (IE ta
OLDNEW
« no previous file with comments | « client/artool ('k') | client/libs/ar/cli.py » ('j') | client/libs/ar/cli.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698